@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #1e40af;
    --primary-hover: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

#header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

#logo {
    text-decoration: none;
}

#logo span {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    color: #e2e8f0;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

#logout-form {
    display: inline;
}

#btn-deconnexion {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

#btn-deconnexion:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fee2e2;
}

main {
    flex: 1;
}

.hero-section {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    padding: 120px 24px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-welcome {
    margin-top: 24px;
    font-size: 18px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.features-section {
    padding: 80px 24px;
    background: white;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px;
    border-radius: 12px;
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.how-it-works-section {
    padding: 80px 24px;
    background: var(--bg-light);
}

.how-container {
    max-width: 1200px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 24px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.cta-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 16px 40px;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

#flashes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.flash {
    padding: 16px 20px;
    margin: 16px 0;
    border-radius: 8px;
    font-weight: 500;
}

.flash.success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.flash.error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--error-color);
}

footer {
    text-align: center;
    padding: 24px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 14px;
}

.header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 8px;
    border: 2px solid var(--accent-color);
}

.user-menu {
    display: inline-flex;
    align-items: center;
    color: #e2e8f0;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.auth-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 48px;
    width: 100%;
    max-width: 480px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-light);
    font-size: 16px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.form-input::placeholder {
    color: #cbd5e0;
}

.form-hint {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

.form-errors {
    color: var(--error-color);
    font-size: 13px;
    margin-top: 4px;
}

.file-upload-area {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    background: var(--bg-light);
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: white;
}

.file-upload-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-upload-primary {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.file-upload-secondary {
    font-size: 13px;
    color: var(--text-light);
}

.file-upload-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.file-input-hidden {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-name-display {
    display: none;
    margin-top: 12px;
}

.file-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #d1fae5;
    border-radius: 8px;
    border: 1px solid #a7f3d0;
}

.file-icon {
    width: 32px;
    height: 32px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.file-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.file-info strong {
    color: #065f46;
    font-size: 14px;
}

.file-info small {
    color: #059669;
    font-size: 12px;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
}

.checkbox-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-actions {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    font-size: 14px;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.auth-benefits {
    display: none;
    max-width: 400px;
}

.auth-benefits h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefits-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefits-list strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.benefits-list p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.alert-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
}

.alert-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.alert-content p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.alert-error .alert-content strong {
    color: #991b1b;
}

.alert-error .alert-content p {
    color: #b91c1c;
}

.profile-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 24px;
}

.profile-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card-header {
    padding: 32px 40px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.card-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.avatar-section {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.avatar-display {
    position: relative;
}

.avatar-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-color);
    transition: all 0.3s;
}

.avatar-image:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

.profile-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-card-action{
    padding: 40px;
    border-top: 1px solid var(--border-color);
}

.user-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.user-email {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}

.visibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}

.badge-visible {
    background: #d1fae5;
    color: #065f46;
}

.badge-hidden {
    background: #fee2e2;
    color: #991b1b;
}

.profile-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-profile svg {
    flex-shrink: 0;
}

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

.btn-profile.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.btn-profile.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-profile.btn-secondary:hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-profile.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-profile.btn-danger:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
}

.btn-profile.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.upload-section {
    padding: 40px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upload-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
}

.upload-form {
    max-width: 500px;
    margin: 0 auto;
}

.technical-section {
    padding: 40px;
    border-top: 1px solid var(--border-color);
}

.technical-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.code-block {
    display: block;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--text-dark);
    word-break: break-all;
    overflow-x: auto;
}

.url-container {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.url-container .code-block {
    flex: 1;
}

.btn-copy {
    padding: 12px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-copy:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.btn-copy.copied {
    background: var(--success-color);
}

.dashboard-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.dashboard-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

.users-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.empty-state p {
    font-size: 16px;
    color: var(--text-light);
}

.user-card-simple {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.user-card-simple:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.user-card-avatar {
    flex-shrink: 0;
}

.user-card-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
    transition: border-color 0.2s;
}

.user-card-simple:hover .user-card-avatar img {
    border-color: var(--accent-color);
}

.user-card-info {
    flex: 1;
    min-width: 0;
}

.user-card-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-card-info p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-card-action {
    flex-shrink: 0;
}

.btn-delete-user {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-user:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.btn-delete-user:active {
    transform: translateY(0);
}

.btn-delete-user svg {
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .auth-benefits {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    #header-container {
        flex-direction: column;
        gap: 16px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .auth-page {
        padding: 24px 16px;
    }

    .auth-container {
        padding: 32px 24px;
    }

    .auth-header h1 {
        font-size: 28px;
    }

    .profile-page {
        padding: 0 16px;
    }

    .avatar-section {
        padding: 32px 24px;
    }

    .avatar-image {
        width: 120px;
        height: 120px;
    }

    .user-name {
        font-size: 20px;
    }

    .profile-actions {
        width: 100%;
    }

    .btn-profile {
        flex: 1;
    }

    .upload-section,
    .technical-section {
        padding: 24px 20px;
    }

    .url-container {
        flex-direction: column;
    }

    .dashboard-header h1 {
        font-size: 28px;
    }

    .dashboard-stats {
        flex-direction: column;
    }

    .stat-card {
        min-width: 100%;
    }

    .users-grid {
        grid-template-columns: 1fr;
    }

    .admin-user-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .admin-user-content {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .admin-user-info {
        align-items: center;
    }

    .admin-user-name,
    .admin-user-email {
        white-space: normal;
        text-align: center;
    }

    .admin-user-meta {
        justify-content: center;
    }

    .admin-user-actions {
        width: 100%;
    }

    .admin-delete-btn {
        width: 100%;
        justify-content: center;
    }

    .user-card-simple {
        flex-direction: column;
        text-align: center;
    }

    .user-card-info h3,
    .user-card-info p {
        white-space: normal;
    }

    .user-card-action {
        width: 100%;
    }

    .btn-delete-user {
        width: 100%;
        justify-content: center;
    }
}


@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .profile-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-profile {
        width: 100%;
        justify-content: center;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn-profile {
        width: 100%;
    }
}

/* Secondary Emails Section */
.secondary-emails-section {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.secondary-emails-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.add-email-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.email-input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.secondary-emails-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.secondary-email-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.secondary-email-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
}

.email-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.email-address {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.email-hash {
    font-size: 11px;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    max-width: fit-content;
}

.email-url-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
    margin-top: 4px;
}

.email-url-link:hover {
    color: var(--primary-hover);
}

.email-url-link svg {
    margin-left: 4px;
}

.btn-delete-email {
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--error-color);
    border-radius: 6px;
    color: var(--error-color);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete-email:hover {
    background: var(--error-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.2);
}

.no-emails-message {
    text-align: center;
    color: var(--text-light);
    padding: 32px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .add-email-form {
        flex-direction: column;
    }

    .secondary-email-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-delete-email {
        width: 100%;
    }
}