/* General Body & Theme */
body {
    background-color: #f0f2f5; /* A light grey background for a modern feel */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.navbar-brand {
    font-weight: 500;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    font-weight: 500;
}

/* Status Badge Styles */
.status-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4em 0.8em;
    border-radius: 50px; /* Pill-shaped badges */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-PENDING {
    background-color: #fff0c2;
    color: #856404;
    border: 1px solid #ffeeba;
}
.status-APPROVED {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.status-REJECTED {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Specific styling for the approval details box */
.request-body-box {
    white-space: pre-wrap; /* Preserves line breaks from the textarea */
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
    min-height: 100px;
}

/* Add a subtle animation for loading */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#requestsDashboard table, #request-details {
    animation: fadeIn 0.5s ease-in-out;
}
/* Add this to the bottom of style.css */
.clickable-row:hover {
    cursor: pointer;
    background-color: #f8f9fa; /* A light grey hover effect */
}