/* HamiClub login: standalone visual layer. Existing Web Forms IDs and handlers remain unchanged. */
body.bg-login {
    background: #f3f8ff !important;
    min-height: 100vh;
    color: #142e60;
}

.hc-login-page {
    min-height: 100vh;
    padding: 32px 24px 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 7% 85%,rgba(123,184,255,.22),transparent 34%),radial-gradient(circle at 92% 9%,rgba(203,238,236,.3),transparent 32%),linear-gradient(135deg,#e9f3ff,#fff 52%,#eef7ff);
    direction: rtl;
    font-family: 'Vazir-FD',Vazir,Tahoma,sans-serif;
}

    .hc-login-page * {
        box-sizing: border-box;
    }

.hc-login-shell {
    width: min(1200px,100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    direction: ltr;
    border-radius: 17px;
    box-shadow: 0 20px 55px rgba(42,99,167,.14);
}

.hc-brand-panel, .hc-form-panel {
    direction: rtl;
    min-width: 0;
    background: rgba(255,255,255,.95);
}

.hc-brand-panel {
    border-radius: 17px 0 0 17px;
    border: 1px solid #d9e7fb;
    padding: 30px 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(160deg,#fff,#f3f8ff 70%,#e7f2ff);
    overflow: hidden;
}

.hc-brand-logo {
    max-width: 142px;
    width: 45%;
    height: auto;
    object-fit: contain;
}

.hc-company-name {
    font-weight: 700;
    font-size: 17px;
    color: #152f62;
    margin: 5px 0 23px;
}

.hc-brand-copy {
    border-top: 1px solid #dfe8f5;
    width: 100%;
    padding-top: 22px;
}

    .hc-brand-copy h1 {
        font-size: 23px;
        font-weight: 800;
        line-height: 1.6;
        margin: 0;
        color: #122d65;
    }

        .hc-brand-copy h1 span {
            color: #1682df;
        }

    .hc-brand-copy p {
        font-size: 13px;
        color: #6b7b96;
        margin: 4px 0 24px;
    }

.hc-features {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 9px;
}

.hc-feature {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
    min-width: 0;
}

.hc-feature-icon {
    width: 65px;
    max-width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 28px;
}

.hc-pink {
    background: #ffeaf0;
    color: #ef4777
}

.hc-purple {
    background: #f0eaff;
    color: #8755dc
}

.hc-blue {
    background: #e4f2ff;
    color: #188cf1
}

.hc-green {
    background: #e1f7ee;
    color: #18ac68
}

.hc-feature strong {
    font-size: 12px;
    color: #142e60
}

.hc-feature small {
    font-size: 10px;
    color: #75829c;
    line-height: 1.7;
}

.hc-brand-art {
    width: 100%;
    height: 230px;
    position: relative;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hc-art-orbit {
    width: 265px;
    height: 155px;
    border-radius: 50%;
    background: radial-gradient(ellipse,#b5d7ff 0%,#e2f1ff 56%,transparent 70%);
    transform: rotate(-8deg);
}

.hc-art-medal {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 25px;
    background: linear-gradient(145deg,#429dff,#1464cf);
    box-shadow: 0 18px 30px rgba(41,122,224,.25);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 58px;
    transform: rotate(-8deg);
}

.hc-art-card {
    position: absolute;
    z-index: 1;
    background: white;
    border: 1px solid #dbe9ff;
    box-shadow: 0 10px 24px #bfd8f080;
    border-radius: 12px;
    padding: 13px 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    color: #1d65b7;
    font-size: 12px;
}

    .hc-art-card i {
        font-size: 24px
    }

.hc-art-card-one {
    right: 8%;
    top: 25px;
    transform: rotate(7deg)
}

.hc-art-card-two {
    left: 4%;
    bottom: 27px;
    transform: rotate(-8deg)
}

.hc-brand-slogan {
    margin: auto 0 0;
    font-weight: 600;
    font-size: 13px;
    color: #1a376c;
}

.hc-form-panel {
    border-radius: 0 17px 17px 0;
    border-top: 4px solid #ff3b67;
    padding: 42px 44px 20px;
    display: flex;
    flex-direction: column;
}

.hc-form-heading {
    text-align: center;
    margin: 35px 0 29px;
}

    .hc-form-heading h2 {
        font-size: 22px;
        font-weight: 800;
        line-height: 1.65;
        color: #112c61;
        margin: 0 0 6px;
    }

    .hc-form-heading p {
        color: #7b8aa4;
        font-size: 13px;
        margin: 0;
    }

.hc-form-fields {
    width: 100%;
}

.hc-input-wrap {
    position: relative;
    margin-bottom: 13px;
}

    .hc-input-wrap > i {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #637899;
        font-size: 22px;
        pointer-events: none;
        z-index: 1;
    }

.hc-form-panel .hc-input {
    height: 51px;
    width: 100%;
    border: 1px solid #d2ddea;
    border-radius: 9px;
    background: #fff !important;
    color: #263e67;
    text-align: right;
    padding: 9px 48px 9px 15px;
    font-size: 14px;
    box-shadow: none;
    transition: border-color .2s,box-shadow .2s;
}

    .hc-form-panel .hc-input:focus {
        border-color: #258cef;
        box-shadow: 0 0 0 3px rgba(37,140,239,.12);
        outline: 0;
    }

    .hc-form-panel .hc-input::placeholder {
        color: #9aa9bc;
        opacity: 1;
    }

.hc-form-panel .hc-otp-button {
    width: 100%;
    background: #e4efff;
    color: #1269b5;
    border: 1px solid #d2e5ff;
    min-height: 43px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    margin: 1px 0 10px;
}

    .hc-form-panel .hc-otp-button:hover {
        background: #d4e8ff;
        color: #09508e;
    }

.hc-captcha-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin: 4px 0 18px;
}

.hc-captcha-field {
    position: relative;
    flex: 1;
    min-width: 0;
}

    .hc-captcha-field > i {
        position: absolute;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        color: #637899;
        pointer-events: none;
    }

    .hc-captcha-field .hc-input {
        height: 50px;
        padding-right: 42px;
    }

.hc-captcha-refresh {
    border: 1px solid #d6e1ef;
    border-radius: 9px;
    background: #f6f9ff;
    color: #2668b4;
    width: 49px;
    flex: none;
    font-size: 25px;
    cursor: pointer;
}

    .hc-captcha-refresh:hover {
        background: #e9f2ff;
    }

.hc-captcha-image {
    height: 50px;
    min-width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f0f5fc;
    overflow: hidden;
    direction: ltr;
}

    .hc-captcha-image canvas {
        max-width: 100%;
        height: 50px;
    }

.hc-error-message {
    display: block;
    color: #c9364c;
    font-size: 12px;
    margin: 3px 0 9px;
    text-align: right;
}

    .hc-error-message:empty {
        display: none;
    }

.hc-submit-area {
    width: 100%;
}

.hc-submit-button {
    width: 100%;
    min-height: 54px;
    border-radius: 9px !important;
    background: #09be43 !important;
    border-color: #09be43 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    box-shadow: 0 7px 16px rgba(0,180,74,.12);
}

    .hc-submit-button:hover {
        background: #07a83b !important;
        border-color: #07a83b !important;
    }

.hc-loading {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 0 0 9px;
}

    .hc-loading .spinner-grow {
        width: 13px;
        height: 13px;
    }

.hc-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 27px;
    padding-top: 22px;
    border-top: 1px solid #e1eaf6;
}

    .hc-social-links a {
        display: inline-flex;
        width: 43px;
        height: 43px;
        align-items: center;
        justify-content: center;
    }

    .hc-social-links img {
        max-width: 43px;
        max-height: 43px;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform .2s;
    }

    .hc-social-links a:hover img {
        transform: translateY(-3px);
    }

.hc-form-bottom {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #7e8ba4;
    font-size: 11px;
    direction: ltr;
}

.hc-enamad {
    max-width: 62px;
    max-height: 46px;
    object-fit: contain;
}

.hc-mobile-brand {
    display: none;
}

@media(max-width:1050px) {
    .hc-form-panel {
        padding: 32px 26px 20px
    }

    .hc-brand-panel {
        padding: 28px 17px 18px
    }

    .hc-brand-copy h1 {
        font-size: 20px
    }

    .hc-feature-icon {
        height: 48px
    }

    .hc-feature small {
        font-size: 9px
    }
}

@media(max-width:760px) {
    .hc-login-page {
        padding: 18px 12px 25px;
        align-items: flex-start
    }

    .hc-login-shell {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: auto
    }

    .hc-brand-panel {
        display: none
    }

    .hc-form-panel {
        border-radius: 15px;
        border: 1px solid #dce8f6;
        border-top: 4px solid #ff3b67;
        padding: 20px 22px 16px
    }

    .hc-mobile-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px
    }

        .hc-mobile-brand img {
            width: 93px;
            max-height: 88px;
            object-fit: contain
        }

        .hc-mobile-brand span {
            font-size: 16px;
            font-weight: 800;
            color: #163a76
        }

    .hc-form-heading {
        margin: 17px 0 22px
    }

        .hc-form-heading h2 {
            font-size: 18px
        }

    .hc-social-links {
        margin-top: 20px
    }

    .hc-form-bottom {
        padding-top: 15px
    }
}

@media(max-width:380px) {
    .hc-form-panel {
        padding: 17px 14px
    }

    .hc-form-heading h2 {
        font-size: 16px
    }

    .hc-captcha-row {
        gap: 6px
    }

    .hc-captcha-image {
        min-width: 92px
    }

    .hc-captcha-refresh {
        width: 40px
    }

    .hc-form-panel .hc-input {
        font-size: 13px
    }
}
/* Ï˜ãå æÑæÏ */
#btnRegister,
.hami-login-submit {
    background: #1689f8 !important;
    border-color: #1689f8 !important;
    color: #fff !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
    width: 100% !important;
}

    #btnRegister:hover,
    .hami-login-submit:hover {
        background: #0873dc !important;
        border-color: #0873dc !important;
    }

    #btnRegister:focus,
    .hami-login-submit:focus {
        box-shadow: 0 0 0 3px rgba(22, 137, 248, 0.18) !important;
    }

.hami-login-submit-container {
    width: 100% !important;
}
