/* ---------------------------------- */
/* B2B Kunde Portal Styling           */
/* ---------------------------------- */

/* Hovedboksen (uændret) */
.bkp-portal-boks {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 28px;
    max-width: 420px;
    margin: 10px auto 20px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    box-sizing: border-box;
    overflow: hidden; 
}

/* Inputfelter (uændret) */
.bkp-portal-boks input[type="email"],
.bkp-portal-boks input[type="text"],
.bkp-portal-boks input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.bkp-portal-boks label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
}

.bkp-portal-boks p {
    margin-bottom: 10px;
}

/* Knapper (uændret) */
.bkp-portal-boks input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 22px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
}
.bkp-portal-boks input[type="submit"]:hover {
    background-color: #45a049;
}

/* Separator (uændret) */
.bkp-separator {
    text-align: center;
    margin: 25px 0 20px 0;
    border-top: 1px solid #e0e0e0;
    position: relative;
}
.bkp-separator a {
    position: relative;
    top: -14px;
    background: #ffffff;
    padding: 0 15px;
    text-decoration: none;
    color: #0073aa;
    font-weight: 600;
    cursor: pointer;
}
.bkp-separator a:hover {
    color: #005177;
}

/* Google / Social Login Styling */
.bkp-social-login-wrapper {
    margin: 18px 0 10px 0;
    text-align: center;
}

.bkp-social-divider {
    position: relative;
    text-align: center;
    margin: 18px 0 14px 0;
}

.bkp-social-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.bkp-social-divider span {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 0 12px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.bkp-google-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    margin-top: 8px;
}

.bkp-google-btn-container .googlesitekit-sign-in-with-google__frontend-output-button {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

/* Skjult form (uændret) */
#bkp-registrer-skjult {
    display: none;
    border-top: 1px dashed #ccc;
    padding-top: 20px;
    margin-top: -15px;
}

/* Meddelelser (uændret) */
.bkp-meddelelser {
    max-width: 420px;
    margin: 15px auto 0 auto;
}
.bkp-fejl {
    border-left: 4px solid #d63638;
    padding: 12px;
    background: #fbeaea;
    margin-bottom: 16px;
}
.bkp-succes {
    border-left: 4px solid #4caf50;
    padding: 12px;
    background: #edf7ed;
    margin-bottom: 16px;
}

/* Header */
.bkp-panel-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px;
    margin: 25px auto 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
}
.bkp-panel-velkomst {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}
.bkp-login-status {
    padding: 20px;
    text-align: left;
}
.bkp-logout-knap {
    display: inline-block;
    padding: 6px 14px;
    background: #888888;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 0;
}
.bkp-logout-knap:hover {
    background: #666666;
}

/* --- TRIN 11 TAB-SYSTEM STYLING (MODERN CLEAN) --- */

.bkp-tabs-nav {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    padding: 0 25px;
    border-bottom: 1px solid #e0e0e0; /* Tynd, diskret linje i bunden */
    box-sizing: border-box;
}

.bkp-tabs-nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    gap: 30px; /* God luft mellem fanerne */
}

.bkp-tabs-nav li {
    margin: 0;
    padding: 0;
}

.bkp-tabs-nav a {
    display: block;
    padding: 15px 5px; /* Mere luft top/bund */
    text-decoration: none;
    color: #718096; /* Dæmpet grå tekst for inaktive */
    font-weight: 500;
    font-size: 15px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent; /* Usynlig streg som standard */
    transition: all 0.3s ease;
    position: relative;
    top: 1px; /* Sørger for at den aktive streg lægger sig OVENPÅ bundlinjen */
}

/* Hover effekt */
.bkp-tabs-nav a:hover {
    color: #2c3e50; /* Mørkere ved hover */
}

/* Den aktive fane */
.bkp-tabs-nav li.nav-tab-active a {
    background: transparent;
    color: #2c3e50; /* Mørk, tydelig tekst */
    font-weight: 600;
    border-bottom: 3px solid #4CAF50; /* Vores grønne brand-farve */
}

/* Indholdet under fanerne */
.bkp-tab-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
    background: #F4F4F5; /* Meget lys grå baggrund for hele indholdet hvis ønsket, ellers hvid */
    min-height: 450px; /* Sikrer at siden ikke "hopper" for meget */
    box-sizing: border-box;
}

.bkp-tab-content .bkp-portal-boks {
    margin: 30px auto;
    /* Skyggen gøres lidt blødere her for at matche */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
}