/* Delete Account Page Styles */

:root {
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(23, 115, 252, 0.1);
    --alert-red: #ff4757;
    --alert-red-hover: #e84118;
    --success-green: #2ecc71;
    --card-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    --input-bg: #f8fafc;
}

.delete-page {
    background-color: var(--bg-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
}

.centered {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Glass Card Styling */
.glass-card {
    background: var(--bg-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--card-shadow);
    text-align: center;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    margin-bottom: 2.5rem;
}

.warning-icon {
    font-size: 4rem;
    color: var(--alert-red);
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(255, 71, 87, 0.2));
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.card-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.disclaimer {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.disclaimer strong {
    color: var(--alert-red);
    font-weight: 600;
}

/* Form Styling */
.deletion-form {
    transition: all 0.5s ease;
}

.form-group {
    text-align: right;
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    right: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.25rem;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.25rem;
    border: 2px solid #edf2f7;
    border-radius: 14px;
    background: var(--input-bg);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    direction: ltr; /* Email is LTR */
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(23, 115, 252, 0.1);
}

.delete-btn {
    width: 100%;
    background: var(--alert-red);
    color: white;
    border: none;
    padding: 1.15rem;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.2);
}

.delete-btn:hover {
    background: var(--alert-red-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(255, 71, 87, 0.3);
}

.delete-btn:active {
    transform: translateY(-2px);
}

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* Success Message Styling */
.success-message {
    padding: 1rem 0;
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 5rem;
    color: var(--success-green);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(46, 204, 113, 0.2));
}

.success-message h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.success-message p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.home-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(23, 115, 252, 0.2);
}

.home-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(23, 115, 252, 0.3);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .glass-card {
        padding: 2rem 1.5rem;
        border-radius: 0; /* Full width on mobile */
        border: none;
        box-shadow: none;
    }
    
    .delete-page {
        background: white;
    }
    
    .main-content {
        padding-top: 100px;
    }
    
    .card-header h1 {
        font-size: 1.75rem;
    }
}
