* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Баннер */
.banner {
    flex: 1;
    background: linear-gradient(135deg, #2c7744 0%, #5a8f3c 100%);
    color: white;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.particle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 80%;
    animation: float 20s infinite linear;
}

.particle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 10%;
    animation: float 25s infinite linear;
}

.particle:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 50%;
    animation: float 30s infinite linear;
}

.particle:nth-child(4) {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 70%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-1000px) rotate(720deg); }
}

.banner-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.icon-background {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    backdrop-filter: blur(10px);
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.banner-subtitle {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.9;
}

.features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 1.5rem;
}

.premium-features {
    background: rgba(255,255,255,0.15);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.premium-features h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Форма входа */
.login-form {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    text-align: center;
    margin-bottom: 10px;
}

.header-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.form-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 5px;
}

.form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #2c7744;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2c7744 0%, #5a8f3c 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
}

.form-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.form-links a {
    color: #2c7744;
    text-decoration: none;
    font-weight: 500;
}

.separator {
    color: #999;
}

.error-message {
    background: #ffe6e6;
    color: #d00;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-icon {
    font-size: 1.2rem;
}

.demo-info {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #2c7744;
}

.demo-info h4 {
    margin-bottom: 10px;
    color: #2c7744;
}

.footer-info {
    text-align: center;
    color: #666;
    margin-top: auto;
}

.version {
    font-weight: 600;
    margin-bottom: 5px;
}

.status {
    color: #2c7744;
    margin-bottom: 5px;
}

.update-info {
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .banner {
        padding: 30px 20px;
    }
    
    .login-form {
        padding: 30px 20px;
    }
}