/* Core Variables */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --success: #10b981;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-700: #374151;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Form Container */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Section Headers */
.section-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 1rem 1rem 0 0;
    padding: 1.5rem 2rem;
}

.section-header h2 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

/* Form Card */
.card {
    background: white;
    border-radius: 0 0 1rem 1rem;
}

/* Section Subheaders */
.section-subheader {
    margin: 2rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.section-subheader h4 {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-subheader h4 i {
    color: var(--primary);
    font-size: 1.1em;
}

/* Form Controls */
.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    height: 3rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1.5px solid var(--gray-200);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Textareas */
textarea.form-control {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

/* Select Elements */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

/* Buttons */
.btn {
    height: 3rem;
    padding: 0 1.5rem;
    font-weight: 500;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background: var(--gray-100);
    border: 1.5px solid var(--gray-200);
}

.btn-light:hover {
    background: var(--gray-200);
}

/* Validation States */
.is-invalid {
    border-color: #ef4444 !important;
}

.invalid-feedback {
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: 0.375rem;
}

/* Modal Styling */
.modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-body {
    padding: 2rem;
}

.modal-body i.fas.fa-check-circle {
    color: var(--success);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Grid and Spacing */
.row {
    margin-left: -1rem;
    margin-right: -1rem;
}

.col-md-6 {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }

    .section-header {
        padding: 1.25rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    .btn {
        width: 100%;
    }

    .d-flex.justify-content-end {
        flex-direction: column;
        gap: 0.75rem;
    }

    .section-subheader h4 {
        font-size: 1.1rem;
    }

    .form-control, .form-select, .btn {
        font-size: 1rem;
    }
} 