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

body {
    font-family: "Karla", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: linear-gradient(120deg, #e0e7ff 0%, #f0f0f0 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.brand-wrapper {
    position: static;
    margin-bottom: 12px;
    text-align: center;
}

.logo {
    width: auto;
    height: 64px;
    margin-bottom: 8px;
}

.auth-main-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.auth-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.08);
    display: flex;
    flex-direction: row;
    width: 900px;
    max-width: 98vw;
    min-height: 520px;
    overflow: hidden;
}

.auth-form-side {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 36px;
}

.auth-img-side {
    flex: 1 1 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-img-side img {
    width: 100%;
    max-width: 350px;
    max-height: 350px;
    object-fit: contain;
    filter: blur(0.5px);
    opacity: 0.96;
}

.login-title {
    font-size: 28px;
    color: #121257;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-align: center;
}

.login-wrapper .form-control {
    border: 1.5px solid #ccc;
    border-radius: 8px;
    padding: 14px;
    min-height: 48px;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.04);
    transition: border 0.2s, box-shadow 0.2s;
}
.login-wrapper .form-control:focus {
    border: 1.5px solid #121257;
    box-shadow: 0 0 0 2px #e0e7ff;
}

.login-wrapper .login-btn {
    padding: 15px 24px;
    background-color: #121257;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 14px;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(18,18,87,0.08);
    border: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.login-wrapper .login-btn:hover {
    background-color: #fff;
    color: #121257;
    border: 1.5px solid #121257;
    box-shadow: 0 4px 16px rgba(18,18,87,0.12);
}

.login-wrapper .form-control::-webkit-input-placeholder {
    color: #b0adad;
}
.login-wrapper .form-control::-moz-placeholder {
    color: #b0adad;
}
.login-wrapper .form-control:-ms-input-placeholder {
    color: #b0adad;
}
.login-wrapper .form-control::-ms-input-placeholder {
    color: #b0adad;
}
.login-wrapper .form-control::placeholder {
    color: #888;
}

.login-wrapper a.forgot-password-link {
    color: #080808;
    font-size: 14px;
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 54px;
}
.google {
    font-weight: bold;
}
.google:hover {
    border: 1px solid #ec1f1f;
    background-color: #fff;
    color: #e1001e;
}
.separator {
    width: 100%;
    border-bottom: solid 2px #ccc;
    position: relative;
    margin: 30px 0px;
    text-align: center;
}

.separator::before {
    content: "OR";
    position: absolute;
    background-color: #fff;
    padding: 0px 10px;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
}
@media (max-width: 575px) {
    .login-wrapper a.forgot-password-link {
        margin-bottom: 16px;
    }
}
.login-wrapper-footer-text {
    font-size: 16px;
    color: #000;
    margin-bottom: 0;
    text-align: center;
}

span.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    font-weight: bold;
}

.form-group.error {
    margin-bottom: 0;
}

.form-group.error input {
    border-color: #dc3545;
}

.form-group.error label {
    color: #dc3545;
}

@media (max-width: 991px) {
    .auth-card {
        flex-direction: column;
        width: 98vw;
        min-height: unset;
    }
    .auth-img-side {
        display: none;
    }
    .auth-form-side {
        padding: 32px 12px;
    }
}
@media (max-width: 575px) {
    .auth-form-side {
        padding: 18px 4px;
    }
    .auth-card {
        border-radius: 0;
        box-shadow: none;
    }
}
