/* Styles pour le formulaire de profil */ .profile-form-container { padding: 0; width: 100%; } .profile-form { display: flex; flex-direction: column; gap: 1.5rem; width: 100%; } .form-section { background-color: rgba(255, 255, 255, 0.05); border-radius: 0.5rem; padding: 1.25rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; } .form-section:hover { background-color: rgba(255, 255, 255, 0.08); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } .section-title { margin: 0 0 1rem 0; padding-bottom: 0.75rem; font-size: 1rem; font-weight: 600; color: var(--primary-color); border-bottom: 1px solid rgba(255, 255, 255, 0.1); letter-spacing: 0.5px; text-transform: uppercase; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; } .form-field { display: flex; flex-direction: column; margin-bottom: 1rem; position: relative; } .form-field:last-child { margin-bottom: 0; } .form-field label { margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 500; color: var(--text-100); display: flex; align-items: center; } .required { color: #f44336; margin-left: 0.25rem; } .optional { color: #90a4ae; font-size: 0.8rem; font-weight: 400; font-style: italic; } .form-field input { background-color: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.375rem; padding: 0.75rem 1rem; font-size: 0.95rem; color: var(--text-100); transition: all 0.3s ease; } .form-field input:focus { outline: none; border-color: var(--primary-color); background-color: rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 3px rgba(103, 58, 183, 0.25); } .form-field input::placeholder { color: rgba(255, 255, 255, 0.3); font-style: italic; } .form-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1); } .btn-cancel { background: transparent; color: var(--text-100); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 0.375rem; padding: 0.75rem 1.5rem; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; } .btn-cancel:hover { background-color: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.3); } .btn-submit { background: var(--primary-color); color: white; border: none; border-radius: 0.375rem; padding: 0.75rem 2rem; font-size: 0.9rem; font-weight: 600; cursor: pointer; box-shadow: 0 2px 6px rgba(103, 58, 183, 0.3); transition: all 0.3s ease; position: relative; overflow: hidden; } .btn-submit::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent); transform: translateX(-100%); transition: all 0.6s ease; } .btn-submit:hover { background: var(--primary-color-dark); box-shadow: 0 4px 10px rgba(103, 58, 183, 0.4); transform: translateY(-2px); } .btn-submit:hover::before { transform: translateX(100%); } .btn-submit:active { transform: translateY(0); box-shadow: 0 2px 4px rgba(103, 58, 183, 0.2); } /* Styles adaptatifs pour les écrans plus petits */ @media (max-width: 768px) { .form-row { grid-template-columns: 1fr; gap: 0.5rem; } }