/* Base Styles for Roulette Bots */
body {
    background: url("../images/backgrounds/rbackground.4c071d74553a.png") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Messages Container */
.messages-container {
    position: fixed;
    top: 2rem;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
}

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

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideInUp 0.6s ease-out;
}

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

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 2rem;
}

.auth-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Form Styles */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    order: 1;
}

.form-control {
    order: 2;
    border-radius: 12px;
    border: 2px solid #e1e8ed;
    padding: 0.875rem 1rem;
    margin-bottom: 0;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background: white;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 700;
    width: 100%;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Alert Styles */
.alert {
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: none;
    font-weight: 500;
}

.alert-danger {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

/* Text Center */
.text-center {
    margin-top: 2rem;
}

.text-center p {
    margin-bottom: 0.75rem;
    color: #7f8c8d;
}

.text-center a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.text-center a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 8px 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.language-switcher select {
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    padding: 4px 8px;
    border-radius: 15px;
    cursor: pointer;
}

.language-switcher select:focus {
    outline: none;
    background: rgba(52, 152, 219, 0.1);
}

/* Responsive Design */
@media (max-width: 576px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem;
        border-radius: 15px;
    }
    
    .auth-header h1 {
        font-size: 1.75rem;
    }
    
    .language-switcher {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
    }
    
    .language-switcher select {
        font-size: 0.8rem;
    }
}