:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --success: #04ab0f;
    --light: #ecf0f1;
    --dark: #34495e;
    --header: #04ab0f;
    --tab: #267C01;
    --progress: #3498db;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header-section {
    background: rgba(165, 24, 24, 0);
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bank-logo {
    width: 250px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.bank-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.header-title {
    text-align: right;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-title h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #0a0f3c;
}

.header-title .subtitle {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0 0 0;
}

.header-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #ff0066 50%, transparent 100%);
}

/* Card */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card-body {
    padding: 2rem;
}

/* Dropdown */
.dropdown-toggle {
    background: var(--tab) !important;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    text-align: center;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
    background: #267C01 !important;
    color: white;
}

.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 8px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #fff3d6;
    color: #0a0f3c;
}

.dropdown-item.active {
    background: var(--tab);
    color: white;
}

.dropdown-item i {
    width: 24px;
    color: var(--tab);
}

.dropdown-item.active i {
    color: white;
}

/* Progress Container */
.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.progress-step span {
    background: #e9ecef;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-weight: 600;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s ease;
    font-size: 0.9rem;
}

.progress-step.active span {
    background: var(--progress);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.progress-line {
    height: 4px;
    width: 80px;
    background: #dee2e6;
    margin: 0 10px;
    position: relative;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.progress-line.active {
    background: var(--progress);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
}

/* Section */
.section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0a0f3c;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--tab);
    font-size: 1.3rem;
}

/* Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-label .required {
    color: #dc3545;
    margin-left: 4px;
}

.form-control,
.form-select {
    border-radius: 10px;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--tab);
    box-shadow: 0 0 0 0.25rem rgba(255, 174, 0, 0.2);
}

.hint {
    font-size: 0.8rem;
    color: #888;
    margin-top: 6px;
}

/* Radio & Checkbox Group */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    color: #1e3a5f;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.2s;
    background: #f8f9fa;
    border: 1.5px solid transparent;
}

.radio-group label:hover,
.checkbox-group label:hover {
    background: #fff3d6;
    border-color: #ffe0a0;
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--tab);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Radio Grid */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #e8e8e8;
}

.radio-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 0.9rem;
    color: #1e3a5f;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s;
    background: white;
    border: 1px solid #e8e8e8;
}

.radio-grid label:hover {
    background: #fff3d6;
    border-color: #ffe0a0;
}

.radio-grid input[type="radio"] {
    width: 17px;
    height: 17px;
    accent-color: var(--tab);
    flex-shrink: 0;
}

/* Other Input */
.other-input {
    margin-top: 8px;
    margin-left: 32px;
}

.other-input input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.other-input input:focus {
    border-color: var(--tab);
    box-shadow: 0 0 0 0.25rem rgba(255, 174, 0, 0.2);
    outline: none;
}

/* Buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.btn-warning-custom {
    background: var(--tab);
    color: white;
}

.btn-warning-custom:hover {
    background: #e6a000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 174, 0, 0.3);
}

.btn-secondary-custom {
    background: #eef2f7;
    color: var(--dark);
}

.btn-secondary-custom:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn-success-custom {
    background: var(--success);
    color: white;
}

.btn-success-custom:hover {
    background: #059b0d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 171, 15, 0.3);
}

/* Textarea */
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s;
}

textarea:focus {
    border-color: var(--tab);
    box-shadow: 0 0 0 0.25rem rgba(255, 174, 0, 0.2);
    outline: none;
}

.feedback-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 6px;
}

/* Alert */
.alert-info {
    background: #e8f4fc;
    border: none;
    border-radius: 10px;
    color: var(--dark);
    border-left: 4px solid var(--secondary);
}

.alert-warning {
    background: #fff8e0;
    border: none;
    border-radius: 10px;
    color: var(--dark);
    border-left: 4px solid var(--tab);
}

/* Thank You */
.thank-you-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.thank-you-title {
    color: #0a0f3c;
    font-size: 2rem;
    font-weight: 700;
}

.thank-you-text {
    color: #666;
    max-width: 400px;
    margin: 0.8rem auto;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 3rem;
    color: var(--dark);
    font-size: 0.9rem;
}

/* Tab Content */
.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

/* Badge */
.badge.bg-info {
    background: var(--secondary) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .bank-logo-placeholder {
        width: 100%;
        justify-content: center;
    }

    .header-title {
        align-items: center;
        text-align: center;
    }

    .header-title h1 {
        font-size: 1.3rem;
    }

    .progress-container {
        gap: 5px;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }

    .progress-step {
        flex-shrink: 0;
    }

    .progress-step span {
        padding: 8px 14px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .progress-line {
        width: 30px;
        margin: 0 5px;
    }

    .radio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-buttons {
        flex-direction: column;
    }

    .nav-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .radio-grid {
        grid-template-columns: 1fr;
    }
}