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

html,
body {
    min-height: 100%;
}

body {
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    background: #f7f7f7;
    color: #444;
}

/* =========================
   Header
========================= */

.top-header {
    height: 67px;
    background: #2388e5;
    border-bottom: 2px solid #d7d7d7;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.header-inner {
    width: 100%;
    height: 100%;
    padding: 0 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand img {
    width: 50px;
    height: 57px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
    line-height: 1.7;
}

.brand-text strong {
    font-size: 13px;
    font-weight: bold;
}

.brand-text span {
    font-size: 10px;
    opacity: .65;
}

.desktop-menu {
    direction: rtl;
    display: flex;
    align-items: center;
    gap: 35px;
    margin-left: auto;
    margin-right: 75px;
}

.desktop-menu a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    font-size: 11px;
    padding: 10px 0;
}

.desktop-menu a:first-child {
    border-bottom: 1px solid #fff;
}

.hamburger {
    display: none;
}

/* =========================
   Main
========================= */

.main-content {
    width: 875px;
    margin: 12px auto 0;
    display: grid;
    grid-template-columns: 569px 290px;
    gap: 12px;
    direction: ltr;
}

.banner-section {
    width: 569px;
    height: 426px;
    background: #fff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .12);
}

.banner-section img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   Login card
========================= */

.login-card {
    width: 290px;
    min-height: 426px;
    background: #fff;
    border: 1px solid #dedede;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    direction: rtl;
}

.card-title {
    height: 58px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title h1 {
    font-size: 17px;
    color: #333;
    font-weight: bold;
}

.login-card form {
    padding: 16px 17px 0;
}

.hint {
    min-height: 37px;
    background: #fafafa;
    color: #555;
    font-size: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px;
    margin-bottom: 11px;
}

.input-group {
    height: 32px;
    border: 1px solid #ddd;
    margin-bottom: 13px;
    position: relative;
    display: flex;
    align-items: center;
}

.input-group input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 35px 0 28px;
    text-align: right;
    direction: rtl;
    font-family: inherit;
    font-size: 10px;
    color: #555;
}

.input-group input::placeholder,
.simple-input::placeholder {
    color: #999;
}

.input-icon {
    position: absolute;
    right: 10px;
    width: 15px;
    height: 15px;
}

/* Simple CSS user icon */
.user-icon::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border: 1px solid #aaa;
    border-radius: 50%;
    top: 0;
    left: 4px;
}

.user-icon::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 7px;
    border: 1px solid #aaa;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    bottom: 0;
    left: 1px;
}

/* Simple CSS lock icon */
.lock-icon::before {
    content: "";
    position: absolute;
    width: 11px;
    height: 9px;
    border: 1px solid #aaa;
    bottom: 0;
    left: 2px;
}

.lock-icon::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 8px;
    border: 1px solid #aaa;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    top: 0;
    left: 4px;
}

.question-icon {
    position: absolute;
    left: 7px;
    width: 16px;
    height: 16px;
    border: 1px solid #bbb;
    border-radius: 50%;
    color: #999;
    font-size: 11px;
    line-height: 14px;
    text-align: center;
}

.captcha {
    width: 100%;
    height: 52px;
    border: 1px solid #ddd;
    margin-bottom: 11px;
    overflow: hidden;
}

.captcha img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.simple-input {
    width: 100%;
    height: 32px;
    border: 1px solid #ddd;
    outline: 0;
    padding: 0 10px;
    font-family: inherit;
    text-align: right;
    font-size: 10px;
    margin-bottom: 12px;
}

.login-button {
    width: 100%;
    height: 34px;
    border: 0;
    background: #2388e5;
    color: #fff;
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
}

.bottom-buttons {
    display: flex;
    gap: 6px;
    padding: 12px 17px;
}

.bottom-buttons button {
    height: 33px;
    border: 0;
    color: #fff;
    font-family: inherit;
    font-size: 9px;
    cursor: pointer;
}

.forgot {
    flex: 1;
    background: #666;
}

.register {
    width: 94px;
    background: #f2a15a;
}

/* =========================
   Footer
========================= */

.footer {
    height: 110px;
    margin-top: 12px;
    border-top: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
    direction: ltr;
}

.footer img {
    width: 65px;
    height: 90px;
    object-fit: contain;
}

.footer p {
    direction: rtl;
    font-size: 9px;
    color: #777;
}

.footer p span {
    background: #2388e5;
    color: #fff;
    border-radius: 12px;
    padding: 4px 9px;
}

/* =========================
   Responsive - Mobile
========================= */

@media (max-width: 700px) {

    body {
        background: #f7f7f7;
    }

    .top-header {
        height: 82px;
    }

    .header-inner {
        padding: 0 18px;
        direction: ltr;
    }

    .brand {
        direction: rtl;
        gap: 7px;
    }

    .brand img {
        width: 43px;
        height: 55px;
    }

    .brand-text {
        align-items: flex-start;
    }

    .brand-text strong {
        font-size: 11px;
    }

    .brand-text span {
        font-size: 9px;
    }

    .desktop-menu {
        display: none;
    }

    .hamburger {
        width: 35px;
        height: 35px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        border: 0;
        background: transparent;
        cursor: pointer;
        padding: 3px;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 2px;
        background: #fff;
    }

    .main-content {
        width: auto;
        margin: 15px 18px 0;
        display: block;
    }

    .banner-section {
        display: none;
    }

    .login-card {
        width: 100%;
        min-height: 0;
        box-shadow: 0 1px 5px rgba(0, 0, 0, .08);
    }

    .card-title {
        height: 65px;
    }

    .card-title h1 {
        font-size: 16px;
    }

    .login-card form {
        padding: 19px 20px 0;
    }

    .hint {
        min-height: 45px;
        font-size: 10px;
        margin-bottom: 13px;
        line-height: 1.8;
    }

    .input-group {
        height: 41px;
        margin-bottom: 13px;
    }

    .input-group input {
        font-size: 11px;
        padding-right: 38px;
    }

    .captcha {
        height: 51px;
        margin-bottom: 13px;
    }

    .simple-input {
        height: 41px;
        font-size: 11px;
        margin-bottom: 14px;
    }

    .login-button {
        height: 41px;
        font-size: 11px;
    }

  

    .footer  {
        flex-direction: column;
    }
}

@media (min-width: 701px) and (max-width: 1000px) {
    .main-content {
        transform: scale(.9);
        transform-origin: top center;
        margin-bottom: -40px;
    }
}
