/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --error-color: #dc3545;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.footer {
    margin-top: auto;
    border-top: 1px solid #dee2e6;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
}

.table th {
    background-color: var(--primary-color);
    color: white;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Card Styles */
.dashboard-card {
    transition: transform 0.2s;
    margin-bottom: 1rem;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    color: #0d6efd;
}

.dashboard-card.bg-primary .card-icon,
.dashboard-card.bg-success .card-icon,
.dashboard-card.bg-info .card-icon {
    color: white;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    margin-bottom: 1rem;
    margin-bottom: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-container {
        padding: 1rem;
        margin: 1rem;
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .dashboard-card {
        margin-bottom: 1rem;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
    }
    
    .btn-group .btn {
        margin-right: 0;
        margin-bottom: 0.25rem;
    }
}

/* Application Form Specific Styles */
.education-entry,
.experience-entry,
.publication-entry {
    border: 1px solid #dee2e6;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.education-entry,
.experience-entry {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.publication-entry {
    background-color: #fff;
    transition: box-shadow 0.2s;
}

.publication-entry:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.remove-entry {
    color: var(--error-color);
    cursor: pointer;
}

.add-entry {
    margin-bottom: 2rem;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    .application-form {
        font-size: 12pt;
    }
    
    .page-break {
        page-break-before: always;
    }

    .table td,
    .table th {
        background-color: white !important;
    }
}

/* Buttons */
.btn-group .btn {
    margin-right: 0.25rem;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* Navigation */
.navbar-brand i {
    margin-right: 0.5rem;
}

.nav-link i {
    margin-right: 0.5rem;
}