body {
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
    min-height: 100vh;
}

.header-section {
    background: linear-gradient(135deg, #0284c7 0%, #3b82f6 100%);
    color: white;
    padding: 40px 25px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
    margin-bottom: 30px;
    text-align: center;
}

.header-section h1 {
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.header-section .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.section-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    border-left: 5px solid #0284c7;
}

.section-title {
    color: #0284c7;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.subsection-title {
    color: #0284c7;
    margin: 25px 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.required::after {
    content: " *";
    color: #e74c3c;
}

.form-note {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 5px;
}

.btn-primary {
    background-color: #0284c7;
    border-color: #0284c7;
}

.btn-primary:hover {
    background-color: #0270b0;
    border-color: #0270b0;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.alert-info {
    background-color: #e7f3ff;
    border-color: #b3d9ff;
    color: #0c5aa0;
}

.card-preview {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 20px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Responsive card scaling for mobile */
@media (max-width: 991px) {
    .card-preview {
        padding: 15px 10px;
        min-height: 250px;
    }
}

@media (max-width: 575px) {
    .card-preview {
        padding: 10px 5px;
        min-height: 220px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Scale the card down proportionally on very small screens */
    .card-preview .member-card {
        transform: scale(0.72);
        transform-origin: top center;
    }
}

@media (max-width: 400px) {
    .card-preview .member-card {
        transform: scale(0.6);
        transform-origin: top center;
    }
}