* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow: hidden;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.logo {
    width: 366px;
    height: 100px;
    aspect-ratio: 53/16;
}

.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #2c2c2c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
}

.header-logo {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.header-icon {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.left-section {
    width: 50%;
    background-image: url('../../img/loginv2.png');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.right-section {
    width: 50%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 100px 160px 150px;
    overflow-y: auto;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 40px;
    color: #000;
    text-transform: uppercase;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
}

.login-button {
    width: 100%;
    padding: 14px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 32px;
}

.login-button:hover {
    background-color: #333;
}

.login-button:disabled {
    background-color: #999;
    cursor: not-allowed;
}

.alert-danger {
    padding: 12px 16px;
    background-color: #fee;
    color: #c33;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.login-footnote {
    color: #60676b;
    font-size: 13px;
    margin-top: 40px;
    margin-bottom: 0;
}

.login-footnote a {
    color: #26478a;
    text-decoration: none;
}

.login-footnote a:hover,
.login-footnote a:focus {
    text-decoration: underline;
}

@media (max-width: 1300px) {
    .login-container {
        flex-direction: column;
    }

    .left-section {
        width: 100%;
        height: 10vh;
    }

    .right-section {
        width: 100%;
        height: 90vh;
        justify-content: normal;
    }

    .logo {
        width: 330px;
        height: 80px;
        aspect-ratio: 53/16;
        align-self: center;
        justify-self: center;
    }
}
