/* Login Page Styles */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.login-form-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 10;
    margin-bottom: 100px;
}

.login-form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 34px;
    width: auto;
    display: block;
}

.login-form {
    width: 100%;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-control::placeholder {
    color: #999999;
}

.forgot-password-link {
    display: inline-block;
    font-size: 14px;
    color: #4A90E2;
    text-decoration: none;
    margin-top: -10px;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #357ABD;
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #9B7EDE 0%, #8B6FD0 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 126, 222, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.city-illustration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.city-skyline-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
    margin: 0 auto;
}

/* Адаптивность */
@media (max-width: 768px) {
    .login-form-wrapper {
        padding: 30px 30px;
        max-width: 90%;
    }
    
    .login-title {
        font-size: 20px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
}

@media (max-width: 480px) {
    .login-form-wrapper {
        padding: 25px 20px;
    }
    
    .login-form-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-container {
        align-self: flex-end;
    }
}

