:root {
    --primary-blue: #17be74;
    --primary-hover: #13a363;
    --text-dark: #050b31;
    --text-light: #ffffff;
    --bg-gray: #f4f7fa;
    --border-color: #e2e8f0;
    --success-color: #17be74;
    --danger-color: #ff5252;
}

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

body {
    font-family: 'Open Sans', 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-gray);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.vh-topnav, .navbar {
    background: #ffffff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 20px 0 rgba(5, 11, 49, 0.08);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand, .vh-topnav-brand {
    font-size: 22px;
    font-weight: 800;
    color: #050b31;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links, .vh-nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a, .vh-nav-links a {
    text-decoration: none;
    color: #5b6b79;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover, .vh-nav-links a:hover {
    color: var(--primary-blue);
}

.nav-actions, .vh-nav-actions {
    display: flex;
    gap: 12px;
}

.btn, .vh-btn {
    padding: 9px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 10px rgba(23, 190, 116, 0.25);
}

.btn:hover, .vh-btn:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* Dropdown */
.vh-nav-dropdown { position: relative; }
.vh-nav-dropdown-toggle {
    background: none;
    border: none;
    color: #5b6b79;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 4px;
}
.vh-caret {
    border-top: 4px solid #5b6b79;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}
.vh-nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 180px;
    padding: 8px 0;
    z-index: 100;
    border: 1px solid var(--border-color);
}
.vh-nav-dropdown.open .vh-nav-dropdown-menu { display: block; }
.vh-nav-dropdown-menu a { display: block; padding: 8px 16px; color: #050b31; }

/* Login Container */
.login-wrapper {
    flex: 1;
    display: flex;
    padding: 40px 20px;
    gap: 24px;
    max-width: 1140px;
    margin: 30px auto;
    width: 100%;
    align-items: stretch;
}

/* Left Column */
.login-left {
    flex: 1.1;
    background: linear-gradient(135deg, #050b31 0%, #0d1a58 100%);
    border-radius: 12px;
    padding: 55px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(5, 11, 49, 0.35);
}

.login-left .badge {
    background: rgba(23, 190, 116, 0.2);
    color: #17be74;
    border: 1px solid rgba(23, 190, 116, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 25px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-left h1 {
    font-size: 2.75rem;
    line-height: 1.15;
    margin-bottom: 18px;
    font-weight: 800;
}

.login-left p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 460px;
}

/* Right Column */
.login-right {
    flex: 1;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 1px 20px 0 rgba(5, 11, 49, 0.08);
    border: 1px solid var(--border-color);
}

.login-right h2 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 28px;
    font-weight: 700;
}

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

.form-label, .form-group label {
    display: block;
    font-size: 12px;
    color: #5b6b79;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control, .form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: #f8fafc;
    color: var(--text-dark);
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.form-control:focus, .form-group input:focus {
    border-color: var(--primary-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(23, 190, 116, 0.2);
}

.btn-login, .btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(23, 190, 116, 0.25);
    margin-top: 10px;
    font-family: inherit;
}

.btn-login:hover, .btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(23, 190, 116, 0.35);
}

.forgot-password, .forgot-pass, .back-to-login {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a, .forgot-pass a, .back-to-login a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.forgot-password a:hover, .forgot-pass a:hover, .back-to-login a:hover {
    text-decoration: underline;
}

/* Feedback messages */
.error-message, .msg-error {
    background: #ffebee;
    color: var(--danger-color);
    border: 1px solid rgba(255, 82, 82, 0.25);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
}

.msg-success {
    background: #e6f9f4;
    color: var(--success-color);
    border: 1px solid rgba(10, 194, 130, 0.25);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
}

.reset-info {
    font-size: 13px;
    color: #5b6b79;
    margin-bottom: 20px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .login-wrapper {
        flex-direction: column;
        padding: 20px;
        margin: 15px auto;
    }
    .login-left {
        padding: 35px 25px;
    }
    .login-left h1 {
        font-size: 2.1rem;
    }
    .login-right {
        padding: 35px 25px;
    }
}