#cerereCredit .cc-field-error {
    color: #EC008C;
    font-size: 13px;
    line-height: 1.3;
    margin: 4px 0 8px;
}

#cerereCredit input.not-complete {
    border: 1px solid #EC008C !important;
}

.cerere-credit-plugin {
    font-family: Poppins, Arial, Helvetica, sans-serif;
    color: #313131;
    background: #f2f3f4;
    padding-bottom: 40px;
}

.cerere-credit-plugin * {
    box-sizing: border-box;
}

.cerere-credit-plugin .cc-header {
    background: #12384a;
    color: #fff;
    padding: 42px 16px;
    margin-bottom: 28px;
}

.cerere-credit-plugin .cc-header h1 {
    margin: 0;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
}

.cerere-credit-plugin .cc-wrap {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.cerere-credit-plugin .cc-grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 24px;
}

.cerere-credit-plugin .cc-panel {
    background: #f2f3f4;
}

.cerere-credit-plugin .cc-title {
    position: relative;
    margin: 8px 0 18px;
    text-align: left;
}

.cerere-credit-plugin .cc-title span {
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 0 16px 0 0;
    background: #f2f3f4;
    color: #424242;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 18px;
    text-transform: uppercase;
}

.cerere-credit-plugin .cc-title:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 9px;
    height: 1px;
    background: #b2b2b2;
}

.cerere-credit-plugin .cc-field {
    margin: 18px 0 0;
}

.cerere-credit-plugin .cc-field label {
    display: block;
    margin: 0 0 6px;
    color: #424242;
    font-size: 15px;
    font-weight: 300;
}

.cerere-credit-plugin .cc-field input[type="text"],
.cerere-credit-plugin .cc-field input[type="email"] {
    width: 100%;
    height: 60px;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    padding: 0 15px;
    background: #fff;
    color: #313131;
    font: 400 14px/58px Poppins, Arial, Helvetica, sans-serif;
}

.cerere-credit-plugin .cc-field input:focus {
    outline: none;
    border-color: #7ac143;
}

.cerere-credit-plugin .cc-error {
    min-height: 18px;
    margin-top: 4px;
    color: #a80c08;
    font-size: 13px;
    font-weight: 400;
}

.cerere-credit-plugin .cc-note {
    margin: 0 0 14px;
    text-align: justify;
    font-size: 15px;
    line-height: 1.45;
}

.cerere-credit-plugin .cc-note a {
    color: #0b6b3a;
}

.cerere-credit-plugin .cc-accord {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin: 0 0 22px;
    font-size: 14px;
    font-weight: 600;
}

.cerere-credit-plugin .cc-accord label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.cerere-credit-plugin .cc-master {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-weight: 600;
}

.cerere-credit-plugin .cc-choice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 8px 16px;
    border: 2px solid #7ac143;
    border-radius: 4px;
    background: #7ac143;
    color: #fff;
    cursor: pointer;
}

.cerere-credit-plugin .cc-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cerere-credit-plugin .cc-choice.is-off {
    display: none;
    border-color: #c00;
    background: #fff;
    color: #c00;
}

.cerere-credit-plugin .cc-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 12px;
    margin-top: 28px;
}

.cerere-credit-plugin .cc-btn {
    border-radius: 4px;
    padding: 14px 22px;
    font: 700 15px/1.2 Poppins, Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.cerere-credit-plugin .cc-btn-primary {
    border: 2px solid #7ac143;
    background: #7ac143;
    color: #fff;
}

.cerere-credit-plugin .cc-btn-secondary {
    border: 2px solid #7ac143;
    background: #fff;
    color: #2d6b12;
}

.cerere-credit-plugin .cc-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.cerere-credit-plugin .cc-status {
    margin: 28px 0;
    text-align: center;
    color: #0b6b3a;
}

.cerere-credit-plugin .cc-warning {
    margin-top: 36px;
    font-size: 15px;
    line-height: 1.5;
}

.cerere-credit-plugin .cc-qr {
    text-align: center;
    padding: 20px 0 40px;
}

.cerere-credit-plugin .cc-qr img {
    width: min(420px, 80%);
    height: auto;
}

.cerere-credit-plugin .cc-thanks {
    padding: 20px 0 50px;
}

@media (max-width: 800px) {
    .cerere-credit-plugin .cc-grid {
        grid-template-columns: 1fr;
    }

    .cerere-credit-plugin .cc-header h1 {
        font-size: 26px;
    }

    .cerere-credit-plugin .cc-btn {
        width: 100%;
    }
}

/* Modal stilizat pentru alerte si mesaje de eroare */
.cc-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 56, 74, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    box-sizing: border-box;
}

.cc-modal-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.cc-modal-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 480px;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    color: #313131;
    box-sizing: border-box;
}

.cc-modal-backdrop.is-visible .cc-modal-card {
    transform: translateY(0) scale(1);
}

.cc-modal-header {
    padding: 20px 24px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cc-modal-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    font-weight: bold;
}

.cc-modal-icon.is-error {
    background: #fee2e2;
    color: #dc2626;
}

.cc-modal-icon.is-info {
    background: #e0f2fe;
    color: #0284c7;
}

.cc-modal-icon.is-success {
    background: #dcfce7;
    color: #16a34a;
}

.cc-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.cc-modal-body {
    padding: 12px 24px 20px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #475569;
}

.cc-modal-footer {
    padding: 14px 24px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
}

.cc-modal-btn {
    background: #7ac143;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.cc-modal-btn:hover {
    background: #68a737;
}

.cc-modal-btn:active {
    transform: scale(0.98);
}

/* Pagină mulțumire. Câmpul rămâne pe alb-ul site-ului, cu o tentă de accent.
   Panoul are bandă închisă, ca să nu stea alb pe alb și nici pe gri plat.
   120px acoperă headerul general position:fixed. .cc-thanks-header-flow
   reduce offset-ul când headerul ales stă în flux. */
.cc-thanks-page-wrap {
    background:
        radial-gradient(ellipse 70% 420px at 50% 0%, color-mix(in srgb, var(--e-global-color-b0f641f, #EC008C) 12%, transparent), transparent 72%),
        var(--e-global-color-secondary, #ffffff);
    box-sizing: border-box;
    color: var(--e-global-color-primary, #151C1E);
    display: flex;
    font-family: "Helvetica Now Display", Sans-serif;
    font-size: 18px;
    justify-content: center;
    line-height: 1.5;
    min-height: 65vh;
    padding: 120px 15px 80px;
    width: 100%;
}

.cc-thanks-page-content {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 1400px;
    width: 100%;
}

.cc-thanks-container {
    background: var(--e-global-color-secondary, #ffffff);
    border: 1px solid var(--e-global-color-1fdad69, #CDD6D9);
    border-radius: 20px 8px 20px 8px;
    box-shadow: 0 22px 50px rgba(21, 28, 30, 0.08);
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 720px;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: center;
    width: 100%;
}

.cc-thanks-masthead {
    background: var(--e-global-color-primary, #151C1E);
    box-sizing: border-box;
    padding: 48px 40px 36px;
    position: relative;
}

.cc-thanks-masthead::before {
    background: var(--e-global-color-b0f641f, #EC008C);
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.cc-thanks-body {
    box-sizing: border-box;
    padding: 36px 40px 44px;
}

.cc-thanks-icon-wrap {
    align-items: center;
    background: color-mix(in srgb, var(--e-global-color-b0f641f, #EC008C) 18%, transparent);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(236, 0, 140, 0.22);
    color: var(--e-global-color-b0f641f, #EC008C);
    display: inline-flex;
    height: 88px;
    justify-content: center;
    margin-bottom: 22px;
    width: 88px;
}

.elementor-kit-8 h1.cc-thanks-title,
.cc-thanks-page-wrap h1.cc-thanks-title {
    color: var(--e-global-color-secondary, #ffffff);
    font-family: "Helvetica Now Display", Sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin: 0 0 10px;
    text-transform: none;
}

.cc-thanks-subtitle {
    color: var(--e-global-color-b0f641f, #EC008C);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.cc-thanks-desc {
    color: var(--e-global-color-primary, #151C1E);
    font-size: 18px;
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 540px;
}

.cc-thanks-order-badge {
    align-items: center;
    background: var(--e-global-color-4961028, #F1F1F1);
    border: 1px solid var(--e-global-color-1fdad69, #CDD6D9);
    border-radius: 20px 8px 20px 8px;
    color: var(--e-global-color-primary, #151C1E);
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    margin-bottom: 30px;
    padding: 10px 24px;
}

.cc-thanks-order-num {
    color: var(--e-global-color-b0f641f, #EC008C);
}

.cc-thanks-steps-card {
    background: var(--e-global-color-4961028, #F1F1F1);
    border: 1px solid var(--e-global-color-1fdad69, #CDD6D9);
    border-radius: 20px;
    margin-bottom: 35px;
    padding: 24px;
    text-align: left;
}

.cc-thanks-steps-title {
    align-items: center;
    color: var(--e-global-color-primary, #151C1E);
    display: flex;
    font-size: 18px;
    font-weight: 700;
    gap: 8px;
    margin-bottom: 12px;
}

.cc-thanks-steps-title svg {
    color: var(--e-global-color-b0f641f, #EC008C);
    flex-shrink: 0;
}

.cc-thanks-steps-list {
    color: var(--e-global-color-primary, #151C1E);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    padding-left: 20px;
}

.cc-thanks-steps-list li {
    margin-bottom: 6px;
}

.cc-thanks-steps-list li:last-child {
    margin-bottom: 0;
}

.cc-thanks-btn-wrap {
    margin-top: 10px;
}

.cc-thanks-page-wrap .page-content a.cc-thanks-btn,
.cc-thanks-btn {
    align-items: center;
    background: var(--e-global-color-b0f641f, #EC008C) !important;
    border: none !important;
    border-radius: 20px 8px 20px 8px !important;
    box-shadow: none !important;
    color: var(--e-global-color-secondary, #ffffff) !important;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 18px !important;
    font-weight: 500 !important;
    gap: 10px;
    justify-content: center;
    line-height: 1.2;
    padding: 15px 30px !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.cc-thanks-page-wrap .page-content a.cc-thanks-btn:hover,
.cc-thanks-page-wrap .page-content a.cc-thanks-btn:focus,
.cc-thanks-btn:hover,
.cc-thanks-btn:focus {
    background: var(--e-global-color-1302a50, #D90081) !important;
    color: var(--e-global-color-secondary, #ffffff) !important;
    text-decoration: none !important;
}

@media (max-width: 1024px) {
    .cc-thanks-page-wrap {
        padding-top: 104px;
    }

    .cc-thanks-page-content {
        max-width: 1024px;
    }

    .elementor-kit-8 h1.cc-thanks-title,
    .cc-thanks-page-wrap h1.cc-thanks-title {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .cc-thanks-page-wrap {
        font-size: 16px;
        padding: 96px 15px 48px;
    }

    .cc-thanks-page-content {
        max-width: 767px;
    }

    .cc-thanks-masthead {
        padding: 36px 20px 28px;
    }

    .cc-thanks-body {
        padding: 28px 20px 32px;
    }

    .cc-thanks-container {
        border-radius: 20px 8px 20px 8px;
    }

    .elementor-kit-8 h1.cc-thanks-title,
    .cc-thanks-page-wrap h1.cc-thanks-title {
        font-size: 24px;
    }

    .cc-thanks-subtitle,
    .cc-thanks-desc,
    .cc-thanks-steps-title {
        font-size: 16px;
    }

    .cc-thanks-steps-list,
    .cc-thanks-order-badge {
        font-size: 15px;
    }

    .cc-thanks-page-wrap .page-content a.cc-thanks-btn,
    .cc-thanks-btn {
        font-size: 16px !important;
        padding: 15px 20px !important;
        width: 100%;
    }
}

body.cc-thanks-header-flow .cc-thanks-page-wrap {
    padding-top: 48px;
}

@media (max-width: 1024px) {
    body.cc-thanks-header-flow .cc-thanks-page-wrap {
        padding-top: 40px;
    }
}

@media (max-width: 767px) {
    body.cc-thanks-header-flow .cc-thanks-page-wrap {
        padding: 32px 15px 48px;
    }
}
