/* Modernizing UI Components */

:root {
    --primary-color: #00144d;
    /* Penn Blue-ish */
    --secondary-color: #990000;
    /* Penn Red-ish */
    --accent-color: #007bff;
    /* Bootstrap Blue for accents */
    --light-bg: #f8f9fa;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s ease-in-out;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    background-color: #f4f7f6;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

/* Buttons */
/* Buttons */
.btn {
    border-radius: 24px;
    /* Material Design 3 Pill Shape */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    /* Slightly larger padding */
    border: none;
    text-transform: none;
    /* Mixed case */
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, #002d72 100%);
    color: white;
    /* Ensure text is visible */
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background-image: linear-gradient(135deg, #002d72 0%, #00144d 100%);
}

.btn-secondary {
    background-color: #6c757d;
    background-image: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.v-btn {
    text-transform: none !important;
    /* Override Vuetify transforms */
    border-radius: 24px !important;
    letter-spacing: normal !important;
}

.btn-danger {
    background-color: var(--secondary-color);
    background-image: linear-gradient(135deg, var(--secondary-color) 0%, #720000 100%);
    color: white;
}

.btn-sm {
    padding: 0.375rem 0.875rem;
    font-size: 0.875rem;
    border-radius: 20px;
}

/* Modals */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.modal-header .close {
    color: white;
    text-shadow: none;
    opacity: 0.8;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    background-color: var(--light-bg);
    padding: 1rem 1.5rem;
}

/* Inputs */
.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #ced4da;
    padding: 0.5rem 0.75rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Tables */
.table {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background-color: #e9ecef;
    color: var(--primary-color);
    border-bottom: 2px solid #dee2e6;
}

/* Custom Headers in Lists */
.text-white.bg-dark {
    background-color: var(--primary-color) !important;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}