*, *::before, *::after {
    box-sizing: border-box;
}

/* releases.css */
:root {
    --primary: #ff7eb9;
    --secondary: #2a2a2a;
    --background: #0a0a0a;
    --text: #ffffff;
    --error: #ff4d7e;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
}

/* Base styles */
body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Auth Container */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-card {
    background: var(--secondary);
    border-radius: 18px;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    position: relative;
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-2px);
}

.auth-title {
    text-align: center;
    color: var(--primary);
    margin: 0 0 2rem 0;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

/* Form elements */
.auth-form .form-field {
    margin-bottom: 1.8rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #333;
    border-radius: 12px;
    background: #1a1a1a;
    color: white;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 126, 185, 0.2);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

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

.btn.primary:hover {
    background: #ff6ba9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 126, 185, 0.3);
}

/* Flash messages */
.flash-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 10000;
    max-width: 400px;
}

.flash-message {
    background: #1a1a1a;
    color: white;
    padding: 16px 24px;
    margin-bottom: 15px;
    border-radius: 14px;
    border-left: 4px solid;
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(6px);
    animation: fade-in 0.4s ease;
}

.flash-success { border-color: var(--success); }
.flash-error { border-color: var(--error); }
.flash-warning { border-color: var(--warning); }
.flash-info { border-color: var(--info); }

.close-btn {
    color: inherit;
    font-size: 24px;
    margin-left: 15px;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.close-btn:hover {
    opacity: 0.8;
}

/* Animations */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive design */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 1.8rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .form-input {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
    }
    
    .auth-title {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 12px 20px;
    }
}