@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700&display=swap');

@font-face {
    font-family: 'Proxima Nova';
    src: url('Proxima Nova/Proxima Nova Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Proxima Nova';
    src: url('Proxima Nova/Proxima Nova Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Proxima Nova';
    src: url('Proxima Nova/Proxima Nova Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Proxima Nova';
    src: url('Proxima Nova/Proxima Nova Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --brand-teal: #00759C;
    --brand-teal-hover: #005E7D;
    --brand-teal-light: #00a2c2;
    --brand-lime: #8ec63f;
    --bg-header: #f4f5f7;
    --text-dark: #1a202c;
    --text-muted: #718096;
    --border-gray: #e2e8f0;
    --step-bg-inactive: #f4f5f7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    font-family: 'Proxima Nova', 'Inter', sans-serif;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header (Grey Band) */
.consors-header {
    background: var(--bg-header);
    max-width: 1555px;
    margin: 0 auto;
    border-radius: 0;
    padding: 20px 40px 40px 40px;
    width: calc(100% - 40px);
}

.header-container-wrapper {
    max-width: 1089px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.header-top-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
    margin-bottom: 25px;
}

.security-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lock-icon {
    width: 12px;
    height: 12px;
    fill: var(--text-muted);
}

.separator {
    color: #cbd5e0;
}

.cancel-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
}

.cancel-link:hover {
    text-decoration: underline;
}

.header-main-row {
    width: 100%;
}

.header-logo {
    display: block;
    height: 89px;
    width: auto;
    margin-bottom: 96px;
}

h1.page-title {
    font-family: 'Proxima Nova', 'Inter', sans-serif;
    color: #000000;
    font-size: 38px;
    font-weight: 700;
}

/* Main Container (White Background) */
.consors-main {
    flex: 1;
    width: 100%;
    background: #ffffff;
    padding-top: 60px;
    padding-bottom: 30px;
}

.steps-container {
    max-width: 1089px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Step Card Layout */
.step-item {
    background: #ffffff;
    margin-bottom: 16px;
}

.step-item.active {
    border-bottom: none;
}

.step-header {
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--step-bg-inactive);
    border-radius: 4px;
}

.step-item.active .step-header {
    background: var(--step-bg-inactive);
    border-radius: 4px 4px 0 0;
}

.step-number {
    width: 24px;
    height: 24px;
    background: transparent;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

.step-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.step-content {
    padding: 24px 24px;
    background: #ffffff;
    border-top: 2px solid var(--brand-teal);
}

/* Form Styles */
.step-content p {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 16px;
}

.btn-secondary {
    display: inline-block;
    border: 1px solid #718096;
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 5px;
    margin-bottom: 24px;
}

.btn-secondary:hover {
    background: #f7fafc;
    border-color: #4a5568;
}

.radio-group-title {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-icon-small {
    width: 14px;
    height: 14px;
    fill: var(--brand-teal-light);
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.radio-options {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #000000;
}

.radio-input {
    accent-color: var(--brand-teal);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Highlight Box */
.highlight-box {
    background: #f0f4f8;
    border-radius: 4px;
    padding: 20px 24px;
    margin: 24px 0;
}

.highlight-title {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
}

.highlight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #000000;
    line-height: 1.5;
}

.checkmark-icon {
    width: 14px;
    height: 14px;
    fill: var(--brand-teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-primary {
    background: var(--brand-teal);
    color: #ffffff;
    border: none;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--brand-teal-hover);
}

.btn-primary-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Form inputs for Step 2 */
.form-group {
    margin-bottom: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 6px;
}

.floating-group {
    position: relative;
    margin-bottom: 20px;
}

.floating-input, .floating-select {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 16px;
    color: #1a202c;
    outline: none;
    background: #ffffff;
    font-family: 'Proxima Nova', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.floating-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    cursor: pointer;
}

.floating-label {
    position: absolute;
    left: 16px;
    top: 15px;
    color: #a0aec0;
    font-size: 16px;
    font-weight: 500;
    background: transparent;
    transition: all 0.2s ease;
    pointer-events: none;
    font-family: 'Proxima Nova', sans-serif;
}

/* Floating behavior for text/date inputs and select elements */
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label,
.floating-select:focus ~ .floating-label,
.floating-select.has-value ~ .floating-label,
.floating-input[type="date"] ~ .floating-label {
    top: -9px;
    left: 12px;
    font-size: 11px;
    color: #718096;
    background: #ffffff;
    padding: 0 6px;
    font-weight: 600;
}

.floating-input:focus, .floating-select:focus {
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 3px rgba(0, 117, 156, 0.15);
}

.floating-input:focus ~ .floating-label, .floating-select:focus ~ .floating-label {
    color: var(--brand-teal);
}

.form-section-title {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 24px;
}

/* Error banner */
.errors-container {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
}

.error-message {
    color: #c53030;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.error-message:last-child {
    margin-bottom: 0;
}

/* Inline field validation styles */
.floating-group.has-error .floating-input,
.floating-group.has-error .floating-select {
    border-color: #a70024;
}

.floating-group.has-error .floating-input:focus,
.floating-group.has-error .floating-select:focus {
    box-shadow: 0 0 0 3px rgba(167, 0, 36, 0.15);
}

.floating-group.has-error .floating-label {
    color: #a70024 !important;
}

.error-field-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a70024;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
}

.error-field-icon {
    width: 16px;
    height: 16px;
    color: #a70024;
    flex-shrink: 0;
}


/* Consorsbank Footer styles */
.consors-footer-new {
    max-width: 1555px;
    margin: 30px auto;
    border-radius: 0;
    width: calc(100% - 40px);
    overflow: hidden;
    font-family: 'Proxima Nova', 'Inter', sans-serif;
}

.footer-upper {
    background: #F5F6F9;
    border-top: 1px solid var(--border-gray);
    padding: 40px 0;
    width: 100%;
}

.footer-container-inner {
    max-width: 1089px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.footer-left-content {
    flex: 1;
}

/* Top Actions */
.footer-top-actions {
    display: flex;
    gap: 30px;
    margin-bottom: 24px;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.action-link:hover:not(.disabled) {
    text-decoration: underline;
}

.action-link.disabled {
    color: #a0aec0;
    cursor: default;
}

.action-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Links Row */
.footer-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.footer-links-row a {
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.footer-links-row a:hover {
    text-decoration: underline;
}

/* Info Text Block */
.footer-info-text {
    margin-bottom: 24px;
    font-size: 12px;
    color: #4a5568;
    line-height: 1.6;
}

.footer-info-text p {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.indicator-green {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--brand-lime);
    flex-shrink: 0;
}

.indicator-orange {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #f6ad55;
    flex-shrink: 0;
}

/* Social icons */
.footer-social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #000000;
    border-radius: 4px;
    fill: #000000;
    color: #000000;
    text-decoration: none;
    transition: background 0.2s;
}

.social-icon:hover {
    background: #f7fafc;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* Award Badge replica */
.footer-right-badge {
    flex-shrink: 0;
    width: 140px;
}

.footer-badge-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Lower Footer Band */
.footer-lower {
    background: #d2d6dc;
    padding: 24px 0;
    width: 100%;
    border-top: 1px solid #cbd5e0;
}

.footer-container-inner-lower {
    max-width: 1089px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.footer-lower-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lower-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.lower-links-row a {
    color: #000000;
    font-size: 11px;
    text-decoration: none;
    font-weight: 500;
}

.lower-links-row a:hover {
    text-decoration: underline;
}

.footer-lower-right {
    font-size: 11px;
    font-weight: 500;
    color: #000000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .consors-header {
        padding: 20px 15px 30px 15px;
        width: 100%;
        margin: 0;
    }
    
    .header-container-wrapper {
        padding: 0;
    }

    .header-logo {
        height: 44px;
        margin-bottom: 48px;
    }

    .consors-main {
        padding-top: 30px;
    }

    .step-content {
        padding: 20px 20px;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    h1.page-title {
        font-size: 31px;
    }
    
    .highlight-box {
        padding: 16px 20px;
    }

    /* Footer Mobile adjustments */
    .consors-footer-new {
        width: 100%;
        margin: 20px 0 0 0;
    }

    .footer-container-inner {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-container-inner-lower {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .footer-top-actions {
        flex-direction: column;
        gap: 16px;
    }

    .footer-lower-right {
        text-align: left;
        margin-top: 10px;
    }
}
