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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: #333;
}

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
}

.delete-account-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    width: 100%;
    margin: 20px 0;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.icon-container {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.logo {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: #718096;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Warning and Alert Boxes */
.warning-box {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
}

.warning-box .warning-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.warning-box h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: white;
}

.warning-box p {
    font-size: 1rem;
    opacity: 0.95;
}

.alert-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.alert-icon {
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Form Styles */
.delete-form {
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:invalid {
    border-color: #e53e3e;
}

.form-group input:valid {
    border-color: #38a169;
}

/* Button Styles */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.delete-button {
    flex: 1;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(229, 62, 62, 0.3);
}

.delete-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
    background: linear-gradient(135deg, #c53030 0%, #9c2a2a 100%);
}

.delete-button:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cancel-button {
    flex: 1;
    background: #f7fafc;
    color: #4a5568;
    padding: 15px 25px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-button:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

/* Message Styles */
.success-message, .error-message {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.success-message {
    border-left: 5px solid #38a169;
}

.error-message {
    border-left: 5px solid #e53e3e;
}

.success-icon, .error-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.success-icon {
    color: #38a169;
}

.error-icon {
    color: #e53e3e;
}

.success-message h2, .error-message h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2d3748;
}

.success-message p, .error-message p {
    color: #4a5568;
    margin-bottom: 10px;
    line-height: 1.6;
}

.success-actions {
    margin-top: 20px;
}

.home-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.home-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Loader Styles */
.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader p {
    color: #4a5568;
    font-weight: 500;
}

/* Info Section */
.info-section {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.info-section h3 {
    color: #2d3748;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-section ul {
    list-style: none;
    padding: 0;
}

.info-section li {
    color: #4a5568;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.info-section li::before {
    content: "•";
    color: #e53e3e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: 20px;
}

.footer p {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .delete-account-container {
        padding: 25px;
        margin: 10px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .delete-button, .cancel-button {
        width: 100%;
    }
    
    .warning-box {
        padding: 20px;
    }
    
    .info-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .delete-account-container {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .icon-container {
        width: 60px;
        height: 60px;
    }
    
    .logo {
        width: 35px;
        height: 35px;
    }
    
    .warning-box {
        padding: 15px;
    }
    
    .success-message, .error-message {
        padding: 20px;
    }
} 