/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Full page */
html, body {
    width: 100%;
    height: 100%;
    background-color: white;
}

/* Main container */
.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left branding side */
.branding-side {
    width: 65%;
    height: 100%;
    background: linear-gradient(rgba(15, 32, 67, 0.85), rgba(15, 32, 67, 0.85));
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

/* Background video */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

/* Branding content over video */
.branding-content {
    text-align: center;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

/* Logo */
.branding-content img {
    margin-top: -50px;
    max-width: 180px;
    height: auto;
    border-radius: 8px;
}

/* Company name */
.branding-content h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 3px;
    font-weight: 700;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.branding-content h2 {
    font-size: 2rem;
    font-weight: 300;
    color: white;
    margin-top: 2px;
    margin-bottom: 10px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.branding-content p {
    font-size: 1rem;
    color: white;
    line-height: 1;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/* Right form side */
.form-side {
    width: 35%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.05);
}

/* Login box */
.login-box {
    width: 100%;
    max-width: 400px;
}

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 55px;
}

.login-header h1 {
    font-size: 2rem;
    color: #0f2043;
    margin-bottom: 12px;
}

.login-header p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Input field group */
.input-group {
    margin-bottom: 28px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14.5px;
    color: #475569;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    color: black;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Show password */
.show-password {
    margin-top: -23px;
    margin-bottom: 43px;
    font-size: 14px;
    color: #475569;
}

.show-password input,
.show-password label {
    display: inline-block;
    vertical-align: middle;
}

.show-password label {
    margin-left: 5px;
    cursor: pointer;
}

/* Button */
.login-btn {
    width: 100%;
    padding: 14px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 8px;
}

.login-btn:hover {
    background-color: #1d4ed8;
}

/* Bottom text */
.bottom-side {
    margin-top: 35px;
    line-height: 1.5;
}

.bottom-side p {
    text-align: center;
    color: #475569;
    font-size: 13px;
}

.bottom-side h6 {
    text-align: center;
    margin-top: 10px;
    color: #64748b;
}

/* Responsive tablet */
@media (max-width: 1024px) {
    .branding-side {
        width: 60%;
    }

    .form-side {
        width: 40%;
    }
}

/* Responsive mobile */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .branding-side {
        width: 100%;
        height: 40vh;
        padding: 20px;
    }

    .form-side {
        width: 100%;
        height: 60vh;
        padding: 25px;
    }

    .branding-content img {
        max-width: 110px;
        margin-top: 0;
    }

    .branding-content h1 {
        font-size: 2rem;
    }

    .branding-content h2 {
        font-size: 1.2rem;
    }

    .branding-content p {
        display: none;
    }

    .login-header {
        margin-bottom: 30px;
    }
}