:root {
    --primary: #1e3a8a;
    --primary-hover: #1e40af;
    --secondary: #0ea5e9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --light: #f8fafc;
    --border: #e2e8f0;
}

body {
    background-color: #f1f5f9;
    color: #334155;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
}

/* Stepper styles */
.stepper-nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.stepper-nav::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    cursor: pointer;
    flex: 1;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #64748b;
    transition: all 0.25s ease-in-out;
}

.step-item.active .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(30, 58, 138, 0.15);
}

.step-item.completed .step-circle {
    background: var(--success);
    border-color: var(--success);
    color: #ffffff;
}

.step-label {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.step-item.active .step-label {
    color: var(--primary);
    font-weight: 700;
}

/* Bank Selection Cards */
.bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
}

.bank-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s ease-in-out;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
}

.bank-card:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bank-card.active {
    border-color: var(--primary);
    background: #eff6ff;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.15);
}

.bank-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 6px;
}

.bank-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1e293b;
}

.bank-templates-count {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 6px;
}

/* Upload dropzone */
.dropzone-box {
    border: 2px dashed #94a3b8;
    background: #f8fafc;
    border-radius: 14px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropzone-box:hover, .dropzone-box.dragover {
    border-color: var(--primary);
    background: #eff6ff;
}

/* Resolution document preview */
.resolution-paper {
    background: #ffffff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 3.5rem 3rem;
    min-height: 700px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #111111;
}

.resolution-paper h4, .resolution-paper h5 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden !important;
    }
    #printContainer, #printContainer * {
        visibility: visible !important;
    }
    #printContainer {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 20mm;
        box-shadow: none !important;
        border: none !important;
        font-size: 12pt;
    }
    @page {
        size: A4;
        margin: 15mm;
    }
}

/* Tables in form */
.director-row td {
    vertical-align: middle;
}

.card {
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card-header {
    border-top-left-radius: 14px !important;
    border-top-right-radius: 14px !important;
}

