body,
html {
    height: 100%;
    margin: 0;
    background: url("image/v904-nunny-019-d.jpg") no-repeat center center fixed;
    background-size: cover;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --purple-light: #ff6060;
    --purple-dark: #ff3a3a;
    --gradient-start: #f7cda5;
    --gradient-end: #ff5353;
}

.login-container {
    width: 100%;
    max-width: 900px;
    margin: auto;
    background: white;
    border-radius: .5rem;
    box-shadow: 0 10px 25px rgb(0, 0, 0);
    display: flex;
    min-height: 500px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.left-panel {
    flex: 1.1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}

.left-panel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.right-panel {
    flex: 1.3;
    padding: 3rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    user-select: none;
}

.right-panel h2 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.right-panel p.description {
    color: #8a8a8a;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    user-select: text;
}

.form-label {
    font-size: 0.9rem;
    color: #837f86;
    font-weight: 500;
    user-select: text;
}

.form-control {
    border-radius: 0.375rem;
    font-size: 1rem;
    height: 45px;
    padding: 0.5rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--purple-dark);
    box-shadow: 0 0 0 0.25rem rgba(255, 58, 58, 0.4);
    outline: none;
}

.form-check-label {
    font-weight: 600;
    user-select: text;
}

.form-check-input {
    background-color: white;
    border-color: var(--purple-dark);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--purple-dark);
    border-color: var(--purple-dark);
}

.forget-password {
    font-size: 0.85rem;
    color: #bbb7be;
    cursor: pointer;
    user-select: text;
    transition: color 0.2s ease;
}

.forget-password:hover {
    color: var(--purple-dark);
    text-decoration: underline;
}

.btn-login {
    background: var(--purple-dark);
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 6px 15px rgba(255, 58, 58, 0.5);
    transition: background 0.3s ease, transform 0.15s ease;
    user-select: none;
    margin-top: 1.8rem;
}

.btn-login:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    color: white;
}

.signup-text {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #a6a0aa;
    user-select: text;
}

.signup-text a {
    color: var(--purple-dark);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.signup-text a:hover {
    color: var(--purple-light);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        max-width: 450px;
        border-radius: 1rem;
    }

    .left-panel {
        display: none;
    }

    .right-panel {
        padding: 2rem 2rem 2.5rem;
        flex: none;
        border-radius: 0 0 1rem 1rem;
    }
}