/* Custom styles for Academic Jobs Admin */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

/* Table styles */
.table-responsive {
    overflow-x: auto;
}

.table th {
    background-color: #f8f9fa;
    color: #212529; /* Dark text for light backgrounds */
}

/* Dark table header styles */
.table-dark th {
    background-color: #212529 !important; /* Dark background */
    color: #fff !important; /* White text */
}

/* Form styles */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Card styles */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Button styles */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

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

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Alert container */
#alert-container {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: 80%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between alerts */
    pointer-events: none; /* Allow clicking through the container */
}

/* Individual alert styles */
.alert {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.95;
    border-radius: 4px;
    pointer-events: auto; /* Make the alerts themselves clickable */
    margin: 0; /* Remove default margin */
}

/* Animation for alerts */
.alert.fade {
    transition: opacity 0.5s, transform 0.5s;
    opacity: 0;
    transform: translateY(-20px);
}

/* Footer styles */
footer {
    margin-top: auto;
}
