@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 100;
    src: url('../css/fonts/IRANSans/woff2/IRANSansX-Thin.woff2') format('woff2'),
         url('../css/fonts/IRANSans/woff/IRANSansX-Thin.woff') format('woff');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 200;
    src: url('../css/fonts/IRANSans/woff2/IRANSansX-UltraLight.woff2') format('woff2'),
         url('../css/fonts/IRANSans/woff/IRANSansX-UltraLight.woff') format('woff');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 300;
    src: url('../css/fonts/IRANSans/woff2/IRANSansX-Light.woff2') format('woff2'),
         url('../css/fonts/IRANSans/woff/IRANSansX-Light.woff') format('woff');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 400;
    src: url('../css/fonts/IRANSans/woff2/IRANSansX-Regular.woff2') format('woff2'),
         url('../css/fonts/IRANSans/woff/IRANSansX-Regular.woff') format('woff');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 500;
    src: url('../css/fonts/IRANSans/woff2/IRANSansX-Medium.woff2') format('woff2'),
         url('../css/fonts/IRANSans/woff/IRANSansX-Medium.woff') format('woff');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 600;
    src: url('../css/fonts/IRANSans/woff2/IRANSansX-DemiBold.woff2') format('woff2'),
         url('../css/fonts/IRANSans/woff/IRANSansX-DemiBold.woff') format('woff');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 700;
    src: url('../css/fonts/IRANSans/woff2/IRANSansX-Bold.woff2') format('woff2'),
         url('../css/fonts/IRANSans/woff/IRANSansX-Bold.woff') format('woff');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 800;
    src: url('../css/fonts/IRANSans/woff2/IRANSansX-ExtraBold.woff2') format('woff2'),
         url('../css/fonts/IRANSans/woff/IRANSansX-ExtraBold.woff') format('woff');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 900;
    src: url('../css/fonts/IRANSans/woff2/IRANSansX-Black.woff2') format('woff2'),
         url('../css/fonts/IRANSans/woff/IRANSansX-Black.woff') format('woff');
}

body, * {
    font-family: 'IRANSansX', sans-serif;
}



/* ==============================
   Settings
   ============================== */
body {
    background: #f7f7f7;
    direction: rtl;
    text-align: right;
}

/* ==============================
  Main TAB
============================== */
.nav-tabs .nav-link {
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 8px 8px 0 0;
}

.nav-tabs .nav-link.active {
    background: #FC004D;
    color: #fff !important;
}

/* ==============================
  SubForms - General Forms
============================== */
.nav-pills .nav-link {
    border-radius: 10px;
    background: #e9ecef;
    margin-left: 5px;
    margin-bottom: 5px;
}

.nav-pills .nav-link.active {
    background: #0d6efd;
    color: #fff !important;
}

/* ==============================
   iFrame Forms
============================== */
.sub-iframe {
    width: 100%;
    height: calc(100vh - 200px);
    border: 1px solid #ccc;
    border-radius: 12px;
    background: #fff;
    display: none;
}

.sub-iframe:first-of-type {
    display: block;
}

/* ==============================
  Reseller Button
============================== */
#rep_buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

#rep_buttons .btn {
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 15px;
}

/* ==============================
   Hover
============================== */
.btn:hover,
.nav-link:hover {
    opacity: 0.9;
    transition: 0.2s;
}

/* ==============================
   Scroll
============================== */
html {
    scroll-behavior: smooth;
}

/* ==============================
   Dark Mode
============================== */
.dark-mode {
    background: #121212;
    color: #dcdcdc;
}

.dark-mode .nav-link.active {
    background: #1e88e5;
}

.dark-mode .nav-pills .nav-link {
    background: #2a2a2a;
}

.dark-mode .sub-iframe {
    border: 1px solid #444;
}

.dark-mode #rep_buttons .btn {
    background: #1e88e5;
    color: #fff;
}
