/**
 * AAU Common Stylesheet
 * Reusable styles for AAU institutional branding
 * 
 * Use this file across different AAU ITS projects for consistent
 * look and feel with AAU's visual identity.
 * 
 * Color Scheme:
 * - Primary: #201952 (AAU deep purple/navy)
 * - Primary Hover: #160f3a (darker shade)
 */

/* CSS Variables */
:root {
    --aau-primary: #201952;
    --aau-primary-rgb: 32, 25, 82;
    --aau-primary-hover: #160f3a;
}

/* Body and Layout */
body {
    background: #f8f9fa;
    min-height: 100vh;
}

/* Navbar Styling */
.navbar-custom {
    background: var(--aau-primary);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-brand {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.navbar-custom .navbar-brand:hover {
    color: white;
}

.navbar-custom .nav-link {
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background 0.3s;
}

.navbar-custom .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.navbar-custom .user-info {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}

/* Button Styles */
.btn-primary {
    background: var(--aau-primary);
    border-color: var(--aau-primary);
}

.btn-primary:hover {
    background: var(--aau-primary-hover);
    border-color: var(--aau-primary-hover);
}

/* Card Styling */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

/* Statistics Cards */
.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: bold;
    color: #212529;
}

/* Table Responsive Wrapper */
.table-responsive {
    border-radius: 0.5rem;
}

/* Action Button Groups */
.btn-group-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-group-actions .btn {
    white-space: nowrap;
}

/* Alert Custom Colors */
.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .btn-group-actions {
        flex-wrap: wrap;
    }
    
    .btn-group-actions .btn {
        flex: 1 1 auto;
    }
}
