/* Styles personnalisés pour Onglerie */

:root {
    --primary-color: #d946a6;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

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

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

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

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

.upload-zone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--primary-color);
    background-color: #f8f9fa;
}

.upload-zone i {
    font-size: 3rem;
    color: var(--primary-color);
}

.progress-container {
    display: none;
    margin-top: 20px;
}

.alert {
    border-radius: 8px;
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.badge {
    padding: 0.5em 0.75em;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.footer {
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .card-icon {
        font-size: 2rem;
    }

    h1 {
        font-size: 1.75rem;
    }
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay.show {
    display: flex;
}

.loading-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}