/*
 * Rayan Sanat look for the coowhm-style-2 client area: the main site's blue and orange, the
 * Vazirmatn font (self-hosted, Persian digits), and fixes for Bootstrap 4 scripts running on this
 * theme's Bootstrap 3 styles (open dropdowns, modals and collapses use .show, not .open / .in).
 * Loaded last, so it wins over the theme's own colours.
 */
@font-face { font-family: "VazirmatnFD"; src: url("../fonts/vazirmatn/Vazirmatn-FD-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "VazirmatnFD"; src: url("../fonts/vazirmatn/Vazirmatn-FD-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "VazirmatnFD"; src: url("../fonts/vazirmatn/Vazirmatn-FD-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "VazirmatnFD"; src: url("../fonts/vazirmatn/Vazirmatn-FD-ExtraBold.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn/Vazirmatn-Variable.woff2") format("woff2-variations"), url("../fonts/vazirmatn/Vazirmatn-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
    --rs-blue: #1f4ff0;
    --rs-blue-2: #3366ff;
    --rs-blue-soft: rgba(31, 79, 240, .09);
    --rs-navy: #0b1a45;
    --rs-orange: #f97316;
    --rs-ink: #0f172a;
    --rs-muted: #64748b;
    --rs-border: #e6e9f2;
    --rs-gradient: linear-gradient(120deg, #0b1a45 0%, #11286f 55%, #1f4ff0 100%);
}

/* Type */
body, button, input, select, textarea, .tooltip, .popover, h1, h2, h3, h4, h5, h6,
.coodiv-navbar, .coodiv-header, .btn, .form-control, .dropdown-menu, .modal, .table { font-family: "VazirmatnFD", "Vazirmatn", Tahoma, sans-serif !important; }
html[dir="ltr"] body, html[dir="ltr"] button, html[dir="ltr"] input, html[dir="ltr"] .btn { font-family: "Vazirmatn", "Segoe UI", sans-serif !important; }
h1, h2, h3, h4, h5 { line-height: 1.6; }
.fa, .fas, .far, .fab, .feather, [class^="flaticon-"], [class*=" flaticon-"] { font-family: inherit; }
.fa, .fas, .far, .fal { font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free" !important; }
.fab { font-family: "Font Awesome 5 Brands", "Font Awesome 5 Pro" !important; }
.feather { font-family: "feather" !important; }
[class^="flaticon-"]:before, [class*=" flaticon-"]:before { font-family: "Flaticon" !important; }

/* Brand colour where the theme used purple */
a { color: var(--rs-blue); }
a:hover, a:focus { color: var(--rs-navy); }
.b-title, .loading-text { color: var(--rs-blue) !important; }
.noti-head, .ligon-head { background: var(--rs-gradient) !important; }
.domain-chaker-homepage { background: var(--rs-gradient) !important; box-shadow: 0 24px 48px -28px rgba(11, 26, 69, .8); }
.domain-chaker-homepage .btn.search { background: var(--rs-orange) !important; border-color: var(--rs-orange) !important; color: #fff !important; }
.how-can-help-box-icon i, [class^="flaticon-"], [class*=" flaticon-"] { color: var(--rs-blue) !important; }
.how-can-help-box-container .how-can-help-box .btn-how-can-help-box {
    opacity: 1 !important;
    width: auto !important; height: auto !important; overflow: visible !important; color: #fff !important;
    background: var(--rs-blue) !important; background-image: none !important; border: 0 !important;
    border-radius: 999px !important; padding: 7px 18px !important; font-size: 12.5px !important; font-weight: 600; line-height: 1.8;
    white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(31, 79, 240, .8) !important;
}
.how-can-help-box-container .how-can-help-box .btn-how-can-help-box:after { display: none !important; }
.how-can-help-box-container .how-can-help-box .btn-how-can-help-box:hover { background: var(--rs-navy) !important; color: #fff !important; opacity: 1; }
.domain-chaker-homepage h5 span { display: inline-block; margin-inline-start: 6px; opacity: .8; font-weight: 400; }
.btn-primary, .btn-primary:focus, .btn-order-coowhm, .btn-order-now { background-color: var(--rs-blue) !important; border-color: var(--rs-blue) !important; color: #fff !important; }
.btn-primary:hover, .btn-order-coowhm:hover, .btn-order-now:hover { background-color: var(--rs-navy) !important; border-color: var(--rs-navy) !important; }
.btn-success { background-color: #10b981; border-color: #10b981; }
.user-services { background-color: var(--rs-blue-soft) !important; color: var(--rs-blue) !important; }
.drop-down-btn.show-more-sidebar, .drop-down-btn.show-more-sidebar i { color: var(--rs-blue) !important; }
.drop-down-btn.show-more-sidebar { background: var(--rs-blue-soft) !important; border: 1px solid rgba(31, 79, 240, .2) !important; border-radius: 12px !important; font-weight: 700; }
.custom-control-label, .control-label { color: #475569 !important; }
.pagination > .active > a, .pagination > .active > span, .page-item.active .page-link { background-color: var(--rs-blue) !important; border-color: var(--rs-blue) !important; }
.label-primary, .badge-primary { background-color: var(--rs-blue) !important; }
.template-new-menu { background: var(--rs-orange) !important; }
.form-control:focus { border-color: rgba(31, 79, 240, .5) !important; box-shadow: 0 0 0 3px rgba(31, 79, 240, .12) !important; }

/* Side menu */
.coodiv-navbar .the-logo .logo { height: 34px; width: auto; }
.coodiv-navbar .coodiv-inner-navbar > li > a.nav-link.active,
.coodiv-navbar .coodiv-inner-navbar > li.active > a.nav-link { background: var(--rs-blue-soft) !important; color: var(--rs-blue) !important; font-weight: 700; }
.coodiv-navbar .coodiv-inner-navbar > li > a.nav-link.active .coodiv-micon i,
.coodiv-navbar .coodiv-inner-navbar > li.active > a .coodiv-micon i { color: var(--rs-blue) !important; }
.coodiv-navbar .coodiv-submenu > li.active > a { color: var(--rs-blue) !important; font-weight: 700; }
.coodiv-navbar .coodiv-submenu > li > a:hover { color: var(--rs-blue) !important; }
.rs-menu-divider { padding: 8px 20px 2px; font-size: 11px; color: var(--rs-muted); }
.rs-back-to-site > a.nav-link { margin-bottom: 6px; border: 1px dashed rgba(31, 79, 240, .3); border-radius: 12px; color: var(--rs-blue) !important; }
.rs-back-to-site .coodiv-micon i { color: var(--rs-blue) !important; }
.coodiv-header .the-logo .logo { height: 30px; width: auto; }

/* Featured plan in the cart: the site's navy instead of the theme's grey-blue */
.coowhm-product-box.featured, .product-box-featured, .featured-product, .coowhm-product .product.feature-plan { background: var(--rs-gradient) !important; }

/* Bootstrap 4 scripts on Bootstrap 3 styles: show what they open */
.dropdown-menu.show, .open > .dropdown-menu { display: block; }
.collapse.show { display: block; }
.fade.show { opacity: 1; }
.modal.show .modal-dialog { transform: translate(0, 0); }
.modal-backdrop.show { opacity: .5; }
.tooltip.show { opacity: .9; }
.popover.show { display: block; }
.tab-content > .active { display: block; }

/* RTL details */
html[dir="rtl"] .dropdown-menu { text-align: right; }
html[dir="rtl"] .input-group .form-control:first-child { border-radius: 0 10px 10px 0; }

/* Bootstrap 4 classes some pages use (client home, product details) on Bootstrap 3 styles */
.row.no-gutters { margin-left: 0; margin-right: 0; }
.row.no-gutters > [class*="col"] { padding-left: 0; padding-right: 0; }
.col-6, .col-12 { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; float: right; }
html[dir="ltr"] .col-6, html[dir="ltr"] .col-12 { float: left; }
.col-6 { width: 50%; } .col-12 { width: 100%; }
@media (min-width: 1200px) {
    .col-xl-3, .col-xl-6 { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; float: right; }
    html[dir="ltr"] .col-xl-3, html[dir="ltr"] .col-xl-6 { float: left; }
    .col-xl-3 { width: 25%; } .col-xl-6 { width: 50%; }
}
.d-flex { display: flex !important; } .flex-column { flex-direction: column !important; }
.justify-content-between { justify-content: space-between !important; } .align-items-start { align-items: flex-start !important; }
.w-100 { width: 100% !important; } .h-100 { height: 100% !important; }
.float-right { float: right !important; } html[dir="rtl"] .float-right { float: left !important; }
.m-0 { margin: 0 !important; } .mb-1 { margin-bottom: .25rem !important; } .mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; } .mb-4 { margin-bottom: 1.5rem !important; } .mt-2 { margin-top: .5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; } .pb-3 { padding-bottom: 1rem !important; }
.font-weight-bold { font-weight: 700 !important; } .font-weight-normal { font-weight: 400 !important; } .font-weight-light { font-weight: 300 !important; }

/* Client home stat tiles */
.tiles .row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.tiles .row > [class*="col"] { float: none; padding: 8px; }
.tiles .tile {
    position: relative; display: block; overflow: hidden; height: 100%; padding: 20px 22px 18px; border-radius: 18px;
    background: #fff; border: 1px solid var(--rs-border); color: var(--rs-ink); text-decoration: none;
    box-shadow: 0 10px 30px -22px rgba(11, 26, 69, .45); transition: transform .2s, box-shadow .2s;
}
.tiles .tile:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(31, 79, 240, .55); text-decoration: none; }
.tiles .tile i { position: absolute; top: 18px; inset-inline-end: 20px; font-size: 22px; color: var(--rs-blue); opacity: .18; }
.tiles .tile .stat { font-size: 30px; font-weight: 800; line-height: 1.3; color: var(--rs-navy); }
.tiles .tile .title { margin-top: 2px; font-size: 13px; color: var(--rs-muted); }
.tiles .tile .highlight { position: absolute; bottom: 0; inset-inline-start: 0; width: 100%; height: 4px; }
.tiles .bg-color-blue { background: var(--rs-blue); } .tiles .bg-color-green { background: #10b981; }
.tiles .bg-color-red { background: #ef4444; } .tiles .bg-color-gold { background: var(--rs-orange); }
.tiles .tile .highlight { padding: 0 !important; margin: 0 !important; height: 4px !important; border-radius: 0 !important; }
.tiles .tile i { opacity: 1; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 17px; background: var(--rs-blue-soft); }
.tiles .tile .stat { padding-inline-end: 52px; }
@media (max-width: 991px) {
    section#footer, section#footer.footer-collapsed { padding: 16px 20px !important; }
    section#footer .footer-copyright { white-space: normal; }
}
/* Homepage with no announcements: no empty white strip under the help box */
section#main-body.rs-homepage-body:not(:has(.card-header, .announcement-single, h2, p, form)) { display: none; }

/* ------------------------------------------------------------------
   Login and register: brand panel + labelled form (login.tpl, clientregister.tpl)
------------------------------------------------------------------- */
.rs-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(300px, 420px) 1fr; background: #f4f6fb; }
.rs-auth-aside {
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 32px; padding: 36px 40px;
    background: var(--rs-gradient); color: #fff;
}
.rs-auth-aside:after {
    content: ""; position: absolute; inset-inline-end: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
    border: 48px solid rgba(249, 115, 22, .22); pointer-events: none;
}
.rs-auth-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; font-weight: 800; font-size: 18px; }
.rs-auth-brand img { height: 38px; width: auto; background: #fff; border-radius: 10px; padding: 5px 8px; }
.rs-auth-pitch { margin-top: auto; margin-bottom: auto; }
.rs-auth-pitch h2 { color: #fff; font-size: 26px; font-weight: 800; line-height: 1.6; margin: 0 0 10px; }
.rs-auth-pitch p { color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 2; margin: 0 0 22px; }
.rs-auth-pitch ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rs-auth-pitch li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .92); }
.rs-auth-pitch li i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #fdba74 !important; font-size: 14px; }
.rs-auth-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; position: relative; z-index: 1; }
.rs-auth-links a { color: rgba(255, 255, 255, .75) !important; }
.rs-auth-links a:hover { color: #fff !important; }

.rs-auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.rs-auth-card {
    width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--rs-border); border-radius: 22px;
    padding: 34px 32px 26px; box-shadow: 0 30px 60px -40px rgba(11, 26, 69, .45);
}
.rs-auth-wide .rs-auth-card { max-width: 760px; }
.rs-auth-head { margin-bottom: 22px; }
.rs-auth-head h1 { font-size: 24px; font-weight: 800; color: var(--rs-navy); margin: 0 0 4px; line-height: 1.6; }
.rs-auth-head p { color: var(--rs-muted); font-size: 13.5px; margin: 0; }

.rs-form .form-group { margin-bottom: 16px; }
.rs-form label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 600; color: #334155 !important; }
.rs-form .form-control, .rs-form select.form-control, .rs-form .intl-tel-input input {
    height: 46px; width: 100%; border: 1.5px solid #dbe1ec !important; border-radius: 12px !important; background: #fff !important;
    padding: 0 14px; font-size: 14.5px; color: var(--rs-ink); box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.rs-form .form-control::placeholder { color: #a3adbf; }
.rs-form .form-control:focus { border-color: var(--rs-blue) !important; box-shadow: 0 0 0 4px rgba(31, 79, 240, .12) !important; outline: 0; }
.rs-form .intl-tel-input { width: 100%; }
.rs-input { position: relative; }
.rs-input > i { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 14px; color: #94a3b8; font-size: 14px; pointer-events: none; }
.rs-input > i ~ .form-control { padding-inline-start: 40px; }
.rs-reveal {
    position: absolute; top: 50%; transform: translateY(-50%); inset-inline-end: 6px; width: 36px; height: 36px; border: 0;
    background: transparent; color: #94a3b8; border-radius: 10px; cursor: pointer;
}
.rs-reveal:hover { color: var(--rs-blue); background: var(--rs-blue-soft); }
.rs-input .rs-reveal ~ .form-control, .rs-input .form-control:has(~ .rs-reveal) { padding-inline-end: 46px; }
.rs-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rs-label-row a { font-size: 12.5px; font-weight: 600; }
.rs-check { display: flex !important; align-items: center; gap: 10px; cursor: pointer; font-weight: 500 !important; margin: 4px 0 18px; }
.rs-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--rs-blue); flex: none; }
.rs-req { color: #ef4444; margin-inline-start: 2px; }
.rs-opt { color: #94a3b8; font-weight: 400; font-size: 12px; }
.rs-help { display: block; margin-top: 6px; color: var(--rs-muted); font-size: 12.5px; }
.rs-submit {
    display: block; width: 100%; height: 48px; border-radius: 12px !important; font-size: 15px; font-weight: 700;
    margin: 0 !important; box-shadow: 0 14px 26px -16px rgba(31, 79, 240, .9) !important;
}
.rs-auth #registration, .rs-auth .rs-form { margin: 0 !important; padding: 0 !important; }
.rs-captcha:not(:has(*)) { display: none; }
.rs-form [dir="ltr"] { font-family: "Vazirmatn", "Segoe UI", sans-serif !important; text-align: left; }
.rs-input .form-control { padding-left: 44px !important; padding-right: 44px !important; }
.rs-captcha:not(:empty) { margin: 6px 0 16px; }
.rs-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; color: #94a3b8; font-size: 12.5px; }
.rs-divider:before, .rs-divider:after { content: ""; flex: 1; height: 1px; background: var(--rs-border); }
.rs-auth-switch { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--rs-border); text-align: center; color: var(--rs-muted); font-size: 13.5px; }
.rs-auth-switch a { font-weight: 700; margin-inline-start: 4px; }

.rs-section { border: 1px solid var(--rs-border); border-radius: 16px; padding: 18px 18px 4px; margin: 0 0 18px; min-width: 0; }
.rs-section legend {
    width: auto; border: 0; margin: 0; padding: 0 8px; font-size: 14.5px; font-weight: 700; color: var(--rs-navy);
}
.rs-section legend i { color: var(--rs-orange) !important; margin-inline-end: 4px; }
.rs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.rs-grid > .rs-span-2, .rs-grid > .alert { grid-column: 1 / -1; }
.rs-pw-tools { display: flex; align-items: center; gap: 14px; }
.rs-pw-tools .password-strength-meter { flex: 1; }
.rs-pw-tools .progress { height: 6px; margin: 0 0 6px; border-radius: 6px; background: #eef1f6; box-shadow: none; }
.rs-pw-tools p { margin: 0; text-align: start !important; }
.rs-tos { margin-top: 0; }

@media (max-width: 991px) {
    .rs-auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .rs-auth-aside { padding: 18px 20px; gap: 0; }
    .rs-auth-aside:after, .rs-auth-pitch, .rs-auth-links { display: none; }
    .rs-auth-main { align-items: flex-start; padding: 20px 14px 40px; }
    .rs-auth-card { padding: 24px 18px 20px; border-radius: 18px; }
}
@media (max-width: 575px) {
    .rs-grid { grid-template-columns: 1fr; }
    .rs-pw-tools { flex-direction: column; align-items: stretch; }
}

/* RTL grid: Bootstrap 3 columns flow from the right, labels of horizontal forms sit on the right */
html[dir="rtl"] [class*="col-xs-"] { float: right; }
@media (min-width: 768px) {
    html[dir="rtl"] [class*="col-sm-"] { float: right; }
    html[dir="rtl"] .form-horizontal .control-label { text-align: right; }
}
@media (min-width: 992px) { html[dir="rtl"] [class*="col-md-"] { float: right; } }
@media (min-width: 1200px) { html[dir="rtl"] [class*="col-lg-"] { float: right; } }

/* Forms across the client area: clearer fields and labels */
.main-content .form-control { border-radius: 10px; border-color: #dbe1ec; min-height: 42px; box-shadow: none; }
.main-content textarea.form-control { min-height: 140px; }
.main-content .form-control:focus { border-color: var(--rs-blue); }
.main-content label, .main-content .control-label { font-weight: 600; color: #334155; }

/* New ticket: department cards with the icon on the free side */
.departments-ticket-show { position: relative; overflow: hidden; border: 1px solid var(--rs-border); border-radius: 16px; padding-inline-end: 64px !important; transition: border-color .2s, box-shadow .2s; }
.departments-ticket-show:hover { border-color: rgba(31, 79, 240, .35); box-shadow: 0 16px 30px -24px rgba(31, 79, 240, .7); }
.departments-ticket-show a:after { content: ""; position: absolute; inset: 0; }
html[dir="rtl"] .departments-ticket-show-icon svg { right: auto; left: -14px; }
.departments-ticket-show-icon g [fill] { fill: var(--rs-blue) !important; }
@media (min-width: 992px) {
    html[dir="rtl"] .how-can-help-box-container .how-can-help-box { border-right: 0; border-left: .07rem solid #ebedf2; }
    html[dir="rtl"] .how-can-help-box-container .how-can-help-box:last-child { border-left: 0; }
}

/* Order summary in the cart: site navy instead of purple */
body #order-standard_cart .order-summary { background: var(--rs-gradient) !important; border-color: var(--rs-navy) !important; border-radius: 18px; overflow: hidden; }
body #order-standard_cart .order-summary:before, body #order-standard_cart .order-summary:after { background: rgba(255, 255, 255, .06) !important; }
