body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

header h1 {
    font-weight: 700;
    color: #2c3e50;
}

.upload-section {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #eaeaea;
}

.user-info {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.photo-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.photo-img-container {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* Ratio 4:3 */
}

.photo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#modalImage {
    max-height: 80vh;
    width: auto;
}

.upload-success {
    color: #28a745;
    padding: 10px;
    border-radius: 4px;
    background-color: #d4edda;
    animation: pulse 1s ease-in-out;
}

.upload-error {
    color: #dc3545;
    padding: 10px;
    border-radius: 4px;
    background-color: #f8d7da;
}

.photographer-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0,0,0,0.6);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.photo-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 20px;
}

.qrcode-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Styles pour l'upload multiple */
.preview-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.preview-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.selected-previews {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.progress {
    height: 10px;
    border-radius: 5px;
}

#selected-files {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #eaeaea;
}

/* Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}