/* Центрирование панели входа и админки */
#view-login.active,
#view-admin.active {
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 40px;
}

/* Панель входа */
.login-split {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    min-height: 600px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0.95);
}

.view.active .login-split {
    transform: scale(1);
}

.login-form-area {
    flex: 1;
    padding: 60px;
}

.login-image-area {
    flex: 1;
    background-color: #111;
}

.login-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.login-title {
    font-size: 32px;
    margin-bottom: 10px;
    text-align: center;
}

.login-subtitle {
    color: #888;
    margin-bottom: 30px;
    text-align: center;
    font-size: 14px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #ccc;
}

.required { color: red; }

.input-group input {
    width: 100%;
    padding: 12px 15px;
    background-color: #121212;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #ffffff;
    color: #000000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #cccccc;
    transform: translateY(-2px);
}

.admin-panel {
    padding: 40px;
    text-align: center;
}

.btn-add-review {
    background-color: #1a1a1a;
    color: white;
    border: 1px solid #333;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

