﻿:root {
    --eec-blue: #32437C;
    --eec-red: #AC353A;
    --eec-white: #FFFFFF;
    --eec-gray: #F8F9FA;
    --eec-dark-blue: #25325C;
}

/* Resetare completă */
html, body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

    .navbar-nav {
    align-items: baseline !important;
}
/* Stiluri pentru butoane EECentre */
.btn-eec-red {
    background-color: var(--eec-red);
    color: white !important;
    border-radius: 4px;
    padding: 10px 24px;
    font-weight: 600;
    border: none;
    transition: 0.2s;
    text-transform: uppercase;
    font-size: 0.85rem;
    line-height: 1.2em;
    margin-top: 6px;
}

.btn-eec-blue {
    background-color: var(--eec-blue);
    color: white !important;
    border-radius: 4px;
    padding: 10px 24px;
    font-weight: 600;
    border: none;
    transition: 0.2s;
    text-transform: uppercase;
    font-size: 0.85rem;
    line-height: 1.2em;
    margin-top: 6px;
}

.btn-eec-red:hover {
    background-color: #8e2b30;
}

.btn-eec-blue:hover {
    background-color: var(--eec-dark-blue);
}

/* Structura de tip "Cascadă" (Header -> Body -> Footer) */
.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Conținutul paginii ocupă toată lățimea pentru a permite bannere full-width */
.content {
    padding: 0 !important;
    width: 100%;
}

/* Fix pentru margini Bootstrap care pot genera scroll orizontal */
.row {
    margin-right: 0;
    margin-left: 0;
}

/* Link-uri */
a {
    color: var(--eec-blue);
    text-decoration: none;
}

a:hover {
    color: var(--eec-red);
}

/* Ajustări pentru Main Menu */
.navbar {
    padding-top: 0rem !important;
    padding-bottom: 0.3rem !important;
    border-bottom: 1px solid #eee;
}

.nav-link {
    color: #32437C !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--eec-blue) !important;
}
.style-footer-icons {
    color: white !important;
    background: #AC353A;
    background-size: 20px;
    border: 1px solid #AC353A;
    border-radius: 50px;
    width: 32px;
    margin-left: -5px;
    text-align: center;
    height: 31px;
    padding-top: 2px;
}
/* Eroare Blazor */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .reload {
    margin-left: 0.5rem;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Helpers pentru secțiuni (utile la Home) */
.section-padding {
    padding: 60px 0;
}

.bg-light-gray {
    background-color: var(--eec-gray);
}
.title-ielts-info {
    font-family: "Lora", serif;
    font-weight: 600;
}
.button_vezi_mai_mult {
    /* background-color: #e6e6e605;
    border: 1px solid darkred;
    border-radius: 20px;
    width: 102px;
    height: 20px;*/
    padding: 0px 87px 1px 16px !important;
}

.spatiere_vezi_mai_mult {
    padding-bottom: 0.3%;
}

.font_vezi_mai_mult {
    color: darkred;
    font-size: 15px;
    padding-top: 1.7px;
    position: absolute;
    font-weight: 500;
    width: 250px;
}
.flat-accordion .flat-toggle {
    margin-bottom: 10px;
}

    .flat-accordion .flat-toggle:last-child {
        margin-bottom: 0;
    }

    .flat-accordion .flat-toggle .toggle-title {
        /*background-color: rgba(228, 230, 242, 0.5);*/
        margin: 0;
        color: #ffffff;
        font-weight: 100;
        /*padding: 3px 0 3px 10px;*/
        /*padding: 7px 10px 7px 10px;*/
        line-height: 1.4;
        /*background-color: #1ac6ff;*/
        /*background-image: url(../images/HeaderGradient.PNG);*/
        /*background-image: linear-gradient(to right, #15416e, #305986, #48729f, #618cb8, #7aa7d1);*/
        /*background-image: linear-gradient(#68ca9b, #2e845b);*/
        cursor: pointer;
        position: relative;
    }

    .flat-accordion .flat-toggle .toggle-content {
        /*background: #f1f2f8;*/
        border: none;
        display: none;
        padding: 2px;
        margin: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
        border-radius: 0;
        /*12-mar*/
        /*position: relative;
    margin-right:-15px;
    margin-left:-15px;*/
    }
.toggle-content {
    display: none; /* Ascuns implicit */
    padding: 10px;
}

.toggle-title {
    cursor: pointer;
    color: #d13b70; /* Culoarea ta de accent */
}

.content-block-detalii {
    border: 1px Solid #BC758E;
    padding: 20px !important;
    margin: 10px 0;
    border-collapse: separate;
    max-width: 1000px;
    scale: 1.2;
    margin-top: 9%;
    margin-bottom: 10%;
}
.align-content-box {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
}
.align-content-box-2 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-left: -250px;
    margin-top: -45px;
    scale: 0.85;
}
    .title-font-detalii-new {
        color: #47476b;
        font-weight: 600;
        font-size: 19px;
    }
.button-sunt-de-acord {
    background-color: var(--eec-red);
    color: white !important;
    border-radius: 4px;
    padding: 10px 24px;
    font-weight: 600;
    border: none;
    transition: 0.2s;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-top: 3%;
}
.button-completare-date-candidat {
    background-color: var(--eec-red);
    color: white !important;
    border-radius: 4px;
    padding: 10px 24px;
    font-weight: 600;
    border: none;
    transition: 0.2s;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.textbox-nume-parinte {
    border: 2px solid gray;
    border-radius: 6px;
    padding: 6px;
    margin-top: 10px;
    width: 400px;
}
.width-1000 {
    width: 1000px;
}
.align-content-box-margin-1 {
    margin-top: 25px;
}
.content-block-detalii-2 {
    border: 1px Solid #BC758E;
    padding: 20px !important;
    margin: 10px 0;
    border-collapse: separate;
    max-width: 1000px;
    scale: 1.3;
    margin-top: 15%;
    margin-bottom: 10%;
}
.dropdown-select-voucher-style {
    padding: 5px 2px 5px 2px;
    border-radius: 7px;
    border: 1px Solid #BC758E;
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.voucher-dropdown {
    position: relative;
    width: 100%;
}

.voucher-dropdown-toggle {
    background: #fff;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
    min-height: 42px;
    padding: 8px 36px 8px 10px;
    position: relative;
}

.voucher-dropdown-toggle::after {
    content: "▾";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #2f437f;
    pointer-events: none;
}

.voucher-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 1100;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #BC758E;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.voucher-dropdown-item {
    width: 100%;
    border: 0;
    background: #fff;
    text-align: left;
    padding: 8px 10px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
}

.voucher-dropdown-item:hover {
    background: #f4f7ff;
}

.voucher-dropdown-item.selected {
    background: #eef2ff;
    color: #32437C;
}
.content-train4exam-voucher {
    border: 1px Solid #BC758E;
    border-radius: 2px;
    padding: 15px;
}
.content-ielts-info-1 {
    width: 625px;
    height: 528px !important;
    line-height: 31px;
    padding: 36px !important;
}
.content-ielts-info-2 {
    width: 625px;
    background-color: #AC353A !important;
    height: 321px !important;
    padding: 27px !important;
}
@media (max-width: 576px) {
    .content-block-detalii {
        scale: 1 !important;
        max-width: 100%;
        margin: 12px 0;
        padding: 16px !important;
    }
    .content-block-detalii-2 {
        border: 1px Solid #BC758E;
        padding: 16px !important;
        max-width: 100%;
        scale: 1;
        margin: 12px 0;
    }
    .align-content-box {
        display: block;
    }
    .width-1000 {
        width: 100%;
    }
    .content-train4exam-voucher {
        margin: 0;
    }
    .dropdown-select-voucher-style {
        width: 100%;
    }
    .button-completare-date-candidat {
        display: block;
        width: 100%;
        margin: 20px 0 0 0;
    }
    .button-sunt-de-acord {
        width: 100%;
    }
    .textbox-nume-parinte {
        width: 100%;
    }
    .deadline-text-portal {
        font-size: 10px;
    }
    .sidebar-card {
        margin-bottom: 15px;
    }
    .content-ielts-info-1 {    
        height: 685px !important;
        margin-bottom: 52px;
    }
    .content-ielts-info-2 {
        width: 383px;
        background-color: #AC353A !important;
        height: 417px !important;
        padding: 27px !important;
        margin-bottom: 20px;
    }
    }

.payment-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px 24px;
}

.payment-page .reg-steps {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 36px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.payment-page .reg-step {
    padding: 6px 14px;
    border-radius: 20px;
    background: #eef2ff;
    color: #32437C;
    border: 1px solid #d9dfeb;
}

.payment-page .reg-step.active {
    background: #32437C;
    color: #fff;
    border-color: #32437C;
}

.payment-page .reg-step.done {
    background: #eef2ff;
    color: #32437C;
    border-color: #d9dfeb;
}

.stripe-flow-card {
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding: 24px;
    margin: 0 auto 12px;
    max-width: 1180px;
}

.stripe-flow-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.stripe-flow-title {
    color: #1E1E1E;
    font-size: 38px;
    font-weight: 500;
    margin: 0;
    font-family: "Lora", serif;
    line-height: 1.15;
}

.stripe-flow-amount {
    color: #1E1E1E;
    font-size: 34px;
    font-weight: 600;
    font-family: "Lora", serif;
    white-space: nowrap;
}

.stripe-flow-divider {
    border-top: 2px solid #1E1E1E;
    opacity: 1;
    margin: 14px 0 16px;
}

.stripe-flow-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.stripe-flow-details {
    flex: 1;
}

.stripe-flow-row {
    margin-bottom: 10px;
    font-size: 20px;
    color: #1E1E1E;
    line-height: 1.4;
}

.stripe-flow-cta {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
 }

.stripe-flow-button {
    width: 100%;
    margin-top: 0;
    text-align: center;
}

.stripe-flow-button-secondary {
    background-color: #32437C;
}

.stripe-flow-note {
    background-color: #eef2ff;
    color: #32437C;
    padding: 10px 15px;
    font-size: 18px;
    border-radius: 4px;
    font-weight: 500;
    border-left: 4px solid #32437C;
    margin-top: 14px;
}

.stripe-state-success {
    border-color: #9ac9b3;
}

.stripe-state-info {
    border-color: #c9d6f6;
}

.stripe-state-warning {
    border-color: #f1d49a;
}

.stripe-state-error {
    border-color: #e4b6b6;
}

.payment-actions {
    max-width: 1180px;
    margin: 14px auto 0;
}

.stripe-flow-actions {
    display: flex;
    justify-content: flex-end;
}

.payment-inline-message {
    font-size: 14px;
    color: #5a5a5a;
}

@media (max-width: 992px) {
    .stripe-flow-title {
        font-size: 32px;
    }

    .stripe-flow-amount {
        font-size: 28px;
    }

    .stripe-flow-row,
    .stripe-flow-note,
    .payment-inline-message {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .stripe-flow-head,
    .stripe-flow-body {
        flex-direction: column;
        align-items: flex-start;
    }

    .stripe-flow-cta {
        max-width: 100%;
    }

    .stripe-flow-title {
        font-size: 26px;
    }

    .stripe-flow-amount {
        font-size: 24px;
    }

    .stripe-flow-row,
    .stripe-flow-note,
    .payment-inline-message {
        font-size: 15px;
    }
}
.footer-images-scale-details {
    scale: 1.8;
    margin-top: 3%;
}
@media (max-width: 576px){
    .footer-images-scale-details {
        scale: 1;
        margin-top: 0%;
    }
}