* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f5f7;
    color: #111;
}

.login-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 40% 60%;
    padding: 20px;
}

.login-left {
    position: relative;
    overflow: hidden;
    border-radius: 18px 0 0 18px;
    background:
        linear-gradient(rgba(0,0,0,.0), rgba(0,0,0,.0)),
        url('../img/login-bg.png') center/cover no-repeat;
    color: #fff;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
}

.brand-content {
    position: relative;
    z-index: 2;
    padding: 180px 70px;
}

.logo-main {
    font-size: 88px;
    font-weight: 900;
    letter-spacing: -8px;
    line-height: 1;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    margin-top: 10px;
}

.gold-line {
    width: 52px;
    height: 3px;
    background: #b08a42;
    margin: 230px 0 32px;
}

.brand-content h1 {
    font-size: 31px;
    line-height: 1.22;
    margin: 0 0 28px;
}

.brand-content p {
    max-width: 390px;
    color: #d5d5d5;
    font-size: 17px;
    line-height: 1.7;
}

.copyright {
    position: absolute;
    z-index: 2;
    left: 48px;
    bottom: 28px;
    padding: 16px 28px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    color: #bbb;
    font-size: 13px;
    line-height: 1.7;
}

.login-right {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7f8fa;
    border-radius: 0 18px 18px 0;
}

.login-card {
    width: 100%;
    max-width: 535px;
    background: #fff;
    padding: 52px;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,.08);
}

.login-card h2 {
    margin: 0;
    font-size: 26px;
}

.subtitle {
    margin: 10px 0 34px;
    color: #5f6368;
    font-size: 16px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

.input-group {
    position: relative;
    margin-bottom: 28px;
}

.input-group span {
    position: absolute;
    left: 18px;
    top: 15px;
    color: #6f7480;
}

.input-group input {
    width: 100%;
    height: 52px;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    padding: 0 50px;
    font-size: 15px;
    outline: none;
}

.input-group input:focus {
    border-color: #111;
}

.toggle-pass {
    position: absolute;
    right: 14px;
    top: 11px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 17px;
}

.forgot {
    text-align: right;
    margin-top: -12px;
    margin-bottom: 32px;
    color: #9b7432;
    font-size: 14px;
    cursor: pointer;
}

.btn-login {
    width: 100%;
    height: 54px;
    background: #090909;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.btn-login:hover {
    background: #222;
}

.separator {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 34px 0;
    color: #6c7078;
}

.separator span {
    height: 1px;
    flex: 1;
    background: #e0e0e0;
}

.btn-google {
    width: 100%;
    height: 52px;
    background: #fff;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.btn-google strong {
    color: #4285f4;
    margin-right: 12px;
    font-size: 20px;
}

.contact-admin {
    text-align: center;
    margin-top: 34px;
    color: #6f7480;
    font-size: 15px;
}

.contact-admin span {
    color: #9b7432;
    font-weight: 600;
}

.alert-error {
    background: #ffe8e8;
    color: #a00000;
    padding: 13px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

@media (max-width: 900px) {
    .login-wrapper {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .login-left {
        display: none;
    }

    .login-right {
        min-height: 100vh;
        border-radius: 0;
        padding: 24px;
    }

    .login-card {
        padding: 34px 24px;
    }
}
