/* Styles du formulaire et conteneur */
.form-container {
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.upload-zone {
    border: 2px dashed #dee2e6;
    padding: 2rem;
    text-align: center;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-zone:hover {
    border-color: #0d6efd;
    background: #f8f9fa;
}

.photo-info-editor {
    margin-top: 2rem;
}

/* Conteneur principal pour la photo et métadonnées */
.frame-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem auto;
    gap: 20px;
}

.photo-frame {
    background: white;
    padding: 50px 50px 100px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    position: relative;
}

/* Conteneur photo */
.photo-container {
    position: relative;
    max-width: 800px;
    background: black;
    line-height: 0;
}

.photo-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Zone des métadonnées */
.metadata-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Style du texte "Shot on..." */
.camera-info {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: -0.2px;
    line-height: 1.4;
}

/* Style des informations techniques */
.technical-info {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    color: #666;
    letter-spacing: -0.1px;
    line-height: 1.4;
}

/* Bouton de téléchargement */
.download-button {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-top: 20px;
}

.download-button:hover {
    background: #f5f5f5;
    color: #333;
    border-color: #ccc;
}

/* Utilitaires */
.d-none {
    display: none !important;
}

/* Styles des formulaires */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #212529;
    font-weight: 500;
}

/* Style du header */
.app-header {
    text-align: center;
    margin-bottom: 3rem;
}

.app-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.3px;
}

.app-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.95rem;
    color: #666;
    margin-top: 0.5rem;
    font-weight: 400;
    letter-spacing: -0.2px;
}

/* Styles responsive */
@media (max-width: 768px) {
    .photo-frame {
        padding: 25px 25px 100px;
    }

    .form-container {
        padding: 1rem;
    }

    .camera-info {
        font-size: 14px;
    }

    .technical-info {
        font-size: 12px;
    }

    .download-button {
        padding: 6px 12px;
        font-size: 12px;
    }
}