/* AMOS AMO - Portail Interne */

/* Sidebar links */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
    text-decoration: none;
}
.sidebar-link:hover {
    background: #f3f4f6;
    color: #1f2937;
}
.sidebar-link.active {
    background: #eff6ff;
    color: #2563eb;
}
.sidebar-link.active svg {
    color: #2563eb;
}

/* Stat cards */
.stat-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.15s ease;
}
.stat-card:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

/* Status badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}
.badge-draft { background: #f3f4f6; color: #4b5563; }
.badge-submitted, .badge-pending { background: #fef3c7; color: #92400e; }
.badge-validated, .badge-published { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }

/* Mobile-first clock button */
.clock-btn {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    color: white;
}
.clock-btn:active {
    transform: scale(0.95);
}
.clock-btn-in {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 8px 30px rgb(34 197 94 / 0.4);
}
.clock-btn-out {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 8px 30px rgb(239 68 68 / 0.4);
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th {
    background: #f9fafb;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e7eb;
}
.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
}
.data-table tr:hover td {
    background: #f9fafb;
}

/* Print styles */
@media print {
    .no-print, nav, header, aside, .sidebar-link { display: none !important; }
    main { padding: 0 !important; }
    body { background: white !important; }
}
