/* Account Page Styling */
.account-container {
    max-width: 600px;
    margin: 40px auto 100px;
    padding: 0 20px;
}

.profile-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    z-index: 0;
}

.profile-header {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.account-avatar-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

.account-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.account-avatar-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.user-name {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 5px;
    letter-spacing: -0.02em;
}

.user-email {
    font-size: 14px;
    color: #888;
}

.account-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 16px;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-account {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-logout {
    background: #f0f0f0;
    color: #1a1a1a;
}

@media (hover: hover) {
    .btn-logout:hover {
        background: #e5e5e5;
        transform: translateY(-2px);
    }
}

.btn-delete {
    background: #fff;
    color: #ff4d4d;
    border: 1px solid #ffe6e6;
    margin-top: 20px;
}

@media (hover: hover) {
    .btn-delete:hover {
        background: #fffafa;
        border-color: #ff4d4d;
        color: #ff1a1a;
    }
}

.delete-warning {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    line-height: 1.5;
}

.inline-help-link {
    color: #1a1a1a;
    text-decoration: underline;
    font-weight: 500;
    margin-left: 5px;
    display: inline-block;
}

@media (hover: hover) {
    .inline-help-link:hover {
        color: #000;
    }
}

/* Modal simple de confirmación */
.delete-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    text-align: center;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
}

.btn-cancel {
    background: #f0f0f0;
    flex: 1;
    font-size: 13.5px;
    padding: 14px 10px;
}

.btn-confirm-delete {
    background: #ff4d4d;
    color: #fff;
    flex: 1;
    font-size: 13.5px;
    padding: 14px 10px;
}

@media (max-width: 600px) {
    .account-container {
        margin-top: 20px;
    }

    .profile-card {
        padding: 30px 20px;
    }
}