/* Styles pour la page de profil */
.profile-section, .password-section, .history-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.profile-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.profile-info {
    flex: 1;
}

.info-item {
    margin-bottom: 15px;
}

.info-item label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Styles pour le formulaire de changement de mot de passe */
#change-password-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#change-password-form button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

/* Styles pour l'historique des conversions */
.history-section {
    margin-top: 20px;
}

.history-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.history-actions button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

#select-all {
    background-color: #4CAF50;
    color: white;
}

#deselect-all {
    background-color: #f44336;
    color: white;
}

#delete-selected {
    background-color: #ff9800;
    color: white;
}

.history-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}

.history-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    gap: 15px;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item .file-info {
    flex: 1;
}

.history-item .file-info p {
    margin: 5px 0;
    color: #333;
}

.history-item .actions {
    display: flex;
    gap: 10px;
}

.download-btn {
    background-color: #2196F3;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #1976D2;
}

.conversion-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Styles responsifs */
@media (max-width: 768px) {
    .profile-content {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-info {
        width: 100%;
    }
}

.profile-header {
    margin-bottom: 30px;
}

.profile-header h2 {
    color: #333;
    font-size: 24px;
    margin: 0;
}

.profile-details {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-info p {
    margin: 0;
    font-size: 16px;
}

.profile-info strong {
    color: #333;
    margin-right: 10px;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.theme-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.theme-card:hover {
    transform: translateY(-5px);
}

.theme-card.selected {
    border: 2px solid var(--accent-color);
}

.theme-preview {
    height: 120px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.theme-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.theme-colors {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
} 