/* styles/auth.css */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.white-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 60px 50px;
    text-align: center;
    max-width: 480px;
    width: 100%;
    margin: 20px;
    border: 1px solid #f1f5f9;
}

.logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 40px;
}

.login-form,
.register-form {
    text-align: left;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Стили для кнопки входа */
.login-form .submit-btn {
    background-color: #1e3a8a;
    color: white;
    padding: 16px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.login-form .submit-btn:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.35);
}

/* Стили для кнопки регистрации */
.register-form .submit-btn {
    background-color: #059669;
    color: white;
    padding: 16px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.register-form .submit-btn:hover {
    background-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.back-link-container {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.back-link {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
}

.back-link:hover {
    color: #1e3a8a;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.support-text {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
    line-height: 1.5;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.login-btn {
    background-color: #1e3a8a;
    color: white;
    padding: 16px 48px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
    margin-bottom: 15px;
}

.login-btn:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.35);
}

.error-message {
    color: #dc2626;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.success-message {
    color: #059669;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}