/* Reset & Base */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2fcff;
}

body::-webkit-scrollbar {
    display: none;
}

/* Logo Header */
.logo-container {
    width: 100%;
    height: 22vh;
    background-color: #2e0071;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.logo-container .heading {
    font-family: "Roboto", sans-serif;
    color: white;
    font-size: 25px;
    padding-top: 10px;
}

.logo-container .logo-image {
    width: 250px;
    height: 200px;
    transform: translateY(-50px);
}

/* Login Container */
.login-container {
    background-color: rgba(224, 251, 255, 1);
    max-width: 1000px;
    margin: 30px auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.login-container .login-heading {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: #1c1c1c;
}

/* Error Messages */
.error-box {
    background-color: #ffe6e6;
    border: 1px solid #ff4d4d;
    color: #b30000;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 15px;
}

.error-box p {
    margin: 0;
    padding: 2px 0;
}

.divider {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.left-block {
    flex: 1;
    min-width: 350px;
    padding: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    color: #333;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    font-size: 16px;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

.login-form input:focus {
    border-color: #000;
    outline: none;
}

.login-form button {
    width: 100%;
    padding: 12px;
    background-color: #2e0071;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-form button:hover {
    background-color: #01168b;
}

.login-form .forgot-password {
    display: inline-block;
    margin-top: 10px;
    color: #0057c8;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.divider-line {
    opacity: 0.6;
}

.login-form .forgot-password:hover {
    text-decoration: underline;
}

.right-block {
    flex: 1;
    min-width: 350px;
    padding: 20px;
}

.right-block h3 {
    font-size: 26px;
    font-weight: 400;
    color: #888;
    margin-bottom: 10px;
    text-align: center;
}

.right-block p {
    font-size: 18px;
    margin-top: 20px;
    color: #333;
    line-height: 1.4;
}

.right-block strong {
    font-weight: bold;
    color: #1c1c1c;
}

.register-link {
    color: #007bff;
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}

.right-block ul {
    padding-left: 20px;
    margin-top: 10px;
}

.right-block li {
    margin-bottom: 8px;
    font-size: 18px;
    color: #333;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px; /* Space for the icon */
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 32%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none; /* Hidden by default */
    color: #555;
}

.toggle-password:hover {
    color: #000;
}

@media screen and (min-width: 1920px) {
    .logo-container {
        height: 12vh;
    }

    .logo-container .heading {
        font-size: 35px;
    }

    .logo-container .logo-image {
        margin-left: 0;
        transform: translateY(-50px);
    }

    .login-container .login-heading {
        font-size: 30px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1919px) {
    .logo-container {
        height: 12vh;
    }

    .logo-container .heading {
        font-size: 15px;
    }

    .logo-container .logo-image {
        margin-left: 0;
        width: 150px;
        height: 100px;
        transform: translateY(-28px);
    }

    .login-container .login-heading {
        font-size: 22px;
    }

    .login-form label {
        display: block;
        margin-bottom: 8px;
        font-size: 18px;
        color: #333;
    }

    .login-form input[type="text"],
    .login-form input[type="password"] {
        width: 100%;
        padding: 12px;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        font-size: 15px;
        border-radius: 4px;
        transition: border-color 0.2s ease;
    }

    .login-form button {
        color: white;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .right-block h3 {
        font-size: 20px;
        font-weight: 400;
        text-align: center;
    }

    .right-block p {
        font-size: 16px;
        margin-top: 20px;
        color: #333;
        line-height: 1.4;
    }

    .right-block li {
        margin-bottom: 8px;
        font-size: 16px;
        color: #333;
    }
}
