@import url('../assets/fonts/popfonts.css');
@import url('../assets/fonts/redditmonofonts.css');

html,
body {
    background-color: #f4f7fa;
    font-family: 'Poppins', sans-serif;
    min-width: 100% !important;
}

.login-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vomsis-logo-container {
    margin-bottom: 30px;
    text-align: center;
}

.vomsis-logo-container img {
    height: 50px;
}

.login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    min-height: 600px;
}

.login-left {
    width: 50%;
    background-color: #1a202c;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.login-left-content {
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.login-left h5 {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 300;
    margin-bottom: 15px;
}

.login-left h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.login-left p {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

.login-right {
    font-family: 'Poppins', sans-serif;
    width: 50%;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 5px;
}

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

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    display: block;
}

.form-group label span {
    color: #e53e3e;
}

.form-control {
    height: 36px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background-color: #fff;
    padding: 0 15px;
    font-size: 14px;
    color: #2d3748;
    width: 100%;
    box-shadow: none;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    outline: none;
}

.forgot-link {
    font-size: 11px;
    color: #718096;
    text-decoration: none;
    margin-left: auto;
    margin-top: 5px;
    display: inline-block;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: none;
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 25px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
}

.checkbox-wrapper input[type='checkbox'] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #cbd5e0;
}

.checkbox-wrapper label {
    margin-bottom: 0;
    font-size: 13px;
    color: #4a5568;
    cursor: pointer;
    font-weight: normal;
}

.btn-login {
    width: 100%;
    height: 36px;
    background-color: #1a202c;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-login:hover {
    background-color: #2d3748;
}

.register-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: #718096;
}

.register-footer a {
    color: #1a202c;
    font-weight: 700;
    text-decoration: none;
}

.register-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

@media (max-width: 992px) {
    .login-left {
        display: none;
    }

    .login-right {
        width: 100%;
        padding: 40px 20px;
    }

    .login-card {
        max-width: 500px;
        min-height: auto;
    }
}
