/* GigSheet — styles personnalisés (complément Tailwind) */

/* Transition douce sur tous les liens */
a { transition: opacity 0.15s ease, color 0.15s ease; }

/* Scrollbar personnalisée (Chrome/Edge) */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #1e3a5f; border-radius: 3px; }

/* Focus accessible sur tous les éléments interactifs */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #f97316;
    outline-offset: 2px;
}

/* Formulaires — style uniforme */
.form-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
}
.form-help {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
}
.form-error {
    font-size: 0.8rem;
    color: #dc2626;
    margin-top: 0.25rem;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
    border: none;
    text-decoration: none;
}
.btn-primary   { background: #1e3a8a; color: white; }
.btn-primary:hover { background: #1e40af; }
.btn-orange    { background: #f97316; color: white; }
.btn-orange:hover { background: #ea6c0a; }
.btn-outline   { background: transparent; color: #1e3a8a; border: 2px solid #1e3a8a; }
.btn-outline:hover { background: #1e3a8a; color: white; }
.btn-danger    { background: #dc2626; color: white; }
.btn-danger:hover { background: #b91c1c; }

/* Cards */
.card {
    background: white;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    padding: 1.5rem;
}

/* Badge de statut */
.badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-green  { background: #d1fae5; color: #065f46; }
.badge-orange { background: #ffedd5; color: #9a3412; }
.badge-gray   { background: #f3f4f6; color: #374151; }
