/* Classes personnalisées */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border: 1px solid transparent;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    border-radius: 0.375rem;
    color: rgb(55, 65, 81);
    background-color: #fff;
}

.btn:hover {
    background-color: rgb(249, 250, 251);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    color: #fff;
    background-color: rgb(37, 99, 235);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background-color: rgb(29, 78, 216);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid rgb(209, 213, 219);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    color: rgb(55, 65, 81);
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: rgb(249, 250, 251);
}

/* Animation de chargement */
.loading {
    animation: spin 1s linear infinite;
    border-radius: 9999px;
    height: 2rem;
    width: 2rem;
    border-bottom: 2px solid rgb(17, 24, 39);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Styles pour les formulaires */
.form-input {
    appearance: none;
    border-radius: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgb(209, 213, 219);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.form-input:focus {
    outline: none;
    border-color: rgb(59, 130, 246);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(55, 65, 81);
}

/* Styles pour les cartes */
.card {
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
}

.card-header {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgb(229, 231, 235);
}

.card-body {
    padding: 1.25rem;
}

/* Styles pour les tableaux */
.table-container {
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.table-header {
    background-color: rgb(249, 250, 251);
}

.table-header th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(17, 24, 39);
}

.table-body {
    background-color: white;
}

.table-body tr {
    border-top: 1px solid rgb(229, 231, 235);
}

.table-row:hover {
    background-color: rgb(249, 250, 251);
}

.table-cell {
    white-space: nowrap;
    padding: 1rem;
    font-size: 0.875rem;
    color: rgb(17, 24, 39);
}

/* Styles pour les badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-success {
    background-color: rgb(220, 252, 231);
    color: rgb(22, 101, 52);
}

.badge-warning {
    background-color: rgb(254, 249, 195);
    color: rgb(146, 64, 14);
}

.badge-info {
    background-color: rgb(219, 234, 254);
    color: rgb(29, 78, 216);
}

.badge-gray {
    background-color: rgb(243, 244, 246);
    color: rgb(55, 65, 81);
}

/* Styles pour les notifications */
.notification {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0.375rem;
    border-width: 1px;
}

.notification-success {
    background-color: rgb(220, 252, 231);
    border-color: rgb(134, 239, 172);
    color: rgb(22, 101, 52);
}

.notification-error {
    background-color: rgb(254, 226, 226);
    border-color: rgb(248, 113, 113);
    color: rgb(185, 28, 28);
}

/* Styles pour les icônes */
.icon {
    height: 1.25rem;
    width: 1.25rem;
}

.icon-sm {
    height: 1rem;
    width: 1rem;
}

.icon-lg {
    height: 1.5rem;
    width: 1.5rem;
}

/* Logo PRIZZ stylisé */
.prizz-logo {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: #0d9488; /* Teal foncé */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.prizz-logo:hover {
    color: #0f766e;
}

.dark .prizz-logo {
    color: #14b8a6; /* Teal plus clair pour le mode sombre */
}

.dark .prizz-logo:hover {
    color: #2dd4bf;
}

/* Style pour les lettres arrondies */
.prizz-logo-text {
    display: inline-block;
    border-radius: 0.25rem;
    padding: 0.125rem 0.25rem;
} 