/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */
@import url(fontiran.css);

body,
input,
button,
select,
textarea {
    font-family: IRANSans !important;
    direction: rtl;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: IRANSans !important;
}

.navbar-main {
    font-family: IRANSans !important;
}

ul.top-nav {
    float: left;
    direction: ltr;
}

.dropdown-menu>li>a {
    text-align: right;
    direction: rtl;
}

section#footer .back-to-top {
    float: left;
}

.checkbox input[type=checkbox], .checkbox-inline input[type=checkbox], .radio input[type=radio], .radio-inline input[type=radio] {
    margin-right: -20px;
}

.checkbox label, .radio label {
    padding-right: 20px;
}

#registration .prepend-icon .field {
    padding-right: 36px;
}

@media (min-width: 768px){
    .form-horizontal .control-label {
        text-align: left;
    }
}


/*Cart*/
#order-standard_cart .prepend-icon .field {
    padding-right: 36px;
}

.ltr {
    text-align: left;!important;
    direction: ltr;!important;
}

.intl-tel-input.allow-dropdown .flag-container, .intl-tel-input.separate-dial-code .flag-container {
    left: 0;
    right: auto;
}
.intl-tel-input .country-list {
    direction: ltr;
    text-align: left;
    left: 0;
}

.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input,
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type=tel],
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type=text] {
    padding-right: 15px;
    direction: ltr;
    text-align:center;
}

.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input, .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type=tel], .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type=text] {
    direction: ltr;
    text-align: center;
}


/* MAIN BRAND COLOR */
:root {
    --brand-color: #135FF6;
}

/* Top navigation bar */
.navbar-main,
.navbar {
    background-color: #135FF6 !important;
}

/* Navbar links */
.navbar-main .navbar-nav > li > a {
    color: #ffffff !important;
}

.navbar-main .navbar-nav > li > a:hover {
    background-color: rgba(255,255,255,0.1) !important;
}

/* Buttons */
.btn-primary {
    background-color: #135FF6 !important;
    border-color: #135FF6 !important;
}

.btn-primary:hover {
    background-color: #0f4fd1 !important;
    border-color: #0f4fd1 !important;
}

/* Order buttons */
#order-standard_cart .btn-checkout {
    background-color: #135FF6 !important;
}

/* Panels (boxes in client area) */
.panel-primary > .panel-heading {
    background-color: #135FF6 !important;
    border-color: #135FF6 !important;
}

/* Links */
a {
    color: #135FF6;
}

a:hover {
    color: #0f4fd1;
}

/* Tables header */
.table thead th {
    background-color: #135FF6;
    color: #fff;
}

/* Sidebar active item */
.list-group-item.active {
    background-color: #135FF6;
    border-color: #135FF6;
}

/* Pricing text */
.price,
.product-price {
    color: #135FF6;
}

/* Login button */
.logincontainer .btn {
    background-color: #135FF6;
}

/* Domain search button */
.domain-search-box .btn {
    background-color: #135FF6;
}

/* Footer */
.footer {
    background-color: #0c3fa5;
}


/* -------------------------------------------
   SAFE MODERN SIX UI REFRESH
   Main color: #135FF6
   No layout breaking / no risky overrides
-------------------------------------------- */

:root {
    --brand: #135FF6;
    --brand-dark: #0F4FD1;
    --radius: 10px;
}

/* Panels (client area boxes) */
.panel {
    border-radius: var(--radius);
    border: 1px solid #e5e7ee;
}

.panel-heading {
    border-radius: var(--radius) var(--radius) 0 0;
    background: #f8f9fb !important;
    color: #2a2d38 !important;
    font-weight: 600;
}

/* Cards used in order form */
#order-standard_cart .product {
    border-radius: var(--radius);
    border: 1px solid #e5e7ee !important;
    transition: all .15s ease;
}

#order-standard_cart .product:hover {
    border-color: var(--brand) !important;
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    border-radius: var(--radius);
    font-weight: 500;
}

.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
}

.btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

/* Form fields */
.form-control {
    border-radius: var(--radius);
    border: 1px solid #d4d7e0;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(19,95,246,0.15);
}

/* Tables (simple, safe edits) */
.table {
    border: 1px solid #e5e7ee;
    border-radius: var(--radius);
    overflow: hidden;
}

.table thead th {
    background: #f4f6fa !important;
    border-bottom: 1px solid #e5e7ee;
    font-weight: 600;
}

/* Sidebar */
.list-group-item {
    border: none;
    border-radius: var(--radius);
}

.list-group-item.active {
    background: var(--brand);
    border-color: var(--brand);
}

/* Navbar (small refresh but safe) */
.navbar-main {
    background: var(--brand) !important;
}

.navbar-main .navbar-nav > li > a {
    color: #fff !important;
}

/* Domain Search Box */
.domain-search-box {
    border-radius: var(--radius);
    border: 1px solid #e6e7eb;
}

/* Alerts */
.alert {
    border-radius: var(--radius);
}

/* Login box */
.logincontainer .loginbox {
    border-radius: var(--radius);
}

/* --- subtle modern shadows --- */

.panel,
.domain-search-box,
.logincontainer .loginbox {
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* --- smoother hover for panels --- */

.panel:hover {
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

/* --- better table rows --- */

.table tbody tr:hover {
    background: #f8faff;
}

/* --- nicer buttons --- */

.btn {
    transition: all .18s ease;
}

.btn-primary {
    box-shadow: 0 4px 10px rgba(19,95,246,0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(19,95,246,0.35);
}

/* --- product cards --- */

#order-standard_cart .product {
    background: #fff;
}

#order-standard_cart .product:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* --- sidebar hover --- */

.list-group-item:hover {
    background:



/* -------------------------
   Modern Client Dashboard
--------------------------*/

/* dashboard panels grid feel */
.client-home-panels .panel {
    border-radius: 12px;
    border: 1px solid #e6e9f0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: all .2s ease;
}

/* hover elevation */

.client-home-panels .panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* panel header */

.client-home-panels .panel-heading {
    background: #fff !important;
    font-weight: 600;
    border-bottom: 1px solid #eef1f6;
}

/* panel icons */

.client-home-panels .panel-heading i {
    color: #135FF6;
    margin-right: 6px;
}

/* panel body */

.client-home-panels .panel-body {
    font-size: 14px;
}

/* quick action buttons */

.client-home-panels .btn {
    border-radius: 8px;
    font-size: 13px;
    padding: 8px 14px;
}

/* stats numbers */

.client-home-panels .stat {
    font-size: 26px;
    font-weight: 600;
    color: #135FF6;
}

/* activity list */

.client-home-panels .list-group-item {
    border: none;
    border-bottom: 1px solid #f0f2f7;
}
/* ----------------------------- */
/* General UI Modernization      */
/* ----------------------------- */
body, html {
    font-family: "IRANSans", "Tahoma", sans-serif !important;
    background: #f5f7fb !important;
}

/* ----------------------------- */
/* Cards (WHMCS login card etc.) */
/* ----------------------------- */
.panel, .card, .login-container, .login-view .card {
    border-radius: 12px !important;
    border: 1px solid #e6e8ef !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
}

/* ----------------------------- */
/* Buttons                       */
/* ----------------------------- */
.btn-primary, .btn-success, input[type="submit"] {
    background: #135FF6 !important;
    border-color: #135FF6 !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    font-size: 15px !important;
}

.btn-primary:hover, .btn-success:hover {
    background: #0f4ed0 !important;
    border-color: #0f4ed0 !important;
    opacity: 0.95 !important;
}

/* Secondary buttons */
.btn-default, .btn-light {
    background: #ffffff !important;
    border: 1px solid #d4d8e3 !important;
    border-radius: 8px !important;
    color: #333 !important;
}
.btn-default:hover {
    background: #f0f3fa !important;
}

/* ----------------------------- */
/* Form Inputs                   */
/* ----------------------------- */
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    border-radius: 8px !important;
    border: 1px solid #d0d5e2 !important;
    padding: 10px 12px !important;
    font-size: 15px !important;
    background: #fff !important;
}

input:focus, select:focus, textarea:focus {
    border-color: #135FF6 !important;
    box-shadow: 0 0 0 3px rgba(19, 95, 246, 0.15) !important;
    outline: none !important;
}

/* ----------------------------- */
/* Login Page Specific           */
/* ----------------------------- */
.login-container {
    margin-top: 60px !important;
    padding: 30px !important;
    background: #ffffff !important;
}

.login-container h1, 
.login-container h2, 
.login-container h3 {
    font-weight: 600 !important;
}

/* "Login by mobile number" custom button */
#loginbymobile {
    margin-top: 10px;
    width: 100%;
    border-radius: 8px;
    padding: 10px 15px;
    background: #fff !important;
    border: 1px solid #135FF6 !important;
    color: #135FF6 !important;
    font-size: 15px;
}
#loginbymobile:hover {
    background: #eaf1ff !important;
}

/* ----------------------------- */
/* RTL Improvement               */
/* ----------------------------- */
body {
    direction: rtl !important;
    text-align: right !important;
}

.form-group label {
    float: right !important;
}

.input-group .input-group-addon {
    border-radius: 0 6px 6px 0 !important;
}
/* Default buttons with white text */
.btn-default,
.btn-light,
.btn-secondary {
    background: #ffffff !important;
    border: 1px solid #d4d8e3 !important;
    border-radius: 8px !important;
    color: #ffffff !important;        /* WHITE TEXT */
    font-weight: 500 !important;
    padding: 10px 18px !important;
}

/* Hover state */
.btn-default:hover,
.btn-light:hover,
.btn-secondary:hover {
    background: #135FF6 !important;   /* Your brand color on hover */
    border-color: #135FF6 !important;
    color: #ffffff !important;        /* WHITE TEXT stays white */
    opacity: 0.95 !important;
}

