/* Custom styles for FOE Portal */
:root {
    --foe-primary: #1a3a5c;
    --foe-secondary: #c9a84c;
    --foe-dark: #2c3e50;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa;
}

main {
    flex: 1;
}

.navbar-dark {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c3e50 100%) !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand i {
    color: #c9a84c;
}

/* Card hover effects */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

/* Ticket priority badges */
.badge-priority-high {
    background-color: #dc3545;
}

.badge-priority-medium {
    background-color: #ffc107;
    color: #000;
}

.badge-priority-low {
    background-color: #28a745;
}

/* Announcement cards */
.announcement-card {
    border-left: 4px solid var(--foe-secondary);
}

/* Work bee cards */
.work-bee-card {
    border-left: 4px solid var(--foe-primary);
}

/* Footer */
.footer {
    margin-top: auto;
    background-color: #2c3e50 !important;
}

.footer .text-muted {
    color: rgba(255,255,255,0.6) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Custom form styles */
.form-control:focus {
    border-color: var(--foe-primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 58, 92, 0.25);
}

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

.btn-primary:hover {
    background-color: #0f2a44;
    border-color: #0f2a44;
}

.btn-secondary {
    background-color: var(--foe-secondary);
    border-color: var(--foe-secondary);
    color: #000;
}

.btn-secondary:hover {
    background-color: #b8963a;
    border-color: #b8963a;
    color: #000;
}

/* Alert messages */
.alert {
    border-radius: 8px;
    border: none;
}

/* Dashboard stats */
.dashboard-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dashboard-stat .number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--foe-primary);
}

.dashboard-stat .label {
    color: #6c757d;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Work Bee Task Styles */
.completed-task {
    opacity: 0.7;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    border-left: 4px solid #28a745 !important;
}

.completed-task:hover {
    opacity: 0.9;
}

.task-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 5px;
}

.task-checkbox:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

/* Completion badge animation */
.badge-completed {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}