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

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

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

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

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

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

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

@font-face {
	font-family: iransans;
	font-style: normal;
	font-weight: 950;
	src: url('../fonts/iransans/iransans-x/woff/IRANSansX-ExtraBlack.woff') format('woff'),   
	url('../fonts/iransans/iransans-x/woff2/IRANSansX-ExtraBlack.woff2') format('woff2');		 
}

@font-face {
	font-family: iransans;
	font-style: normal;
	font-weight: 1000;
	src: url('../fonts/iransans/iransans-x/woff/IRANSansX-Heavy.woff') format('woff'),   
	url('../fonts/iransans/iransans-x/woff2/IRANSansX-Heavy.woff2') format('woff2');		 
}

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

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



@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/yekan/yekan-b.eot');
	src: url('../fonts/yekan/yekan-b.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/yekan/yekan-b.woff') format('woff');
}

@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 100;
	src: url('../fonts/yekan/yekan-t.eot');
	src: url('../fonts/yekan/yekan-t.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/yekan/yekan-t.woff') format('woff');
}

@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/yekan/yekan-l.eot');
	src: url('../fonts/yekan/yekan-l.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/yekan/yekan-l.woff') format('woff');
}

@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/yekan/yekan-r.eot');
	src: url('../fonts/yekan/yekan-r.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/yekan/yekan-r.woff') format('woff');
}

@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/yekan/yekanmedium.eot');
	src: url('../fonts/yekan/yekanmedium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/yekan/yekanmedium.woff') format('woff');
}

@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 800;
	src: url('../fonts/yekan/yekan-ex.eot');
	src: url('../fonts/yekan/yekan-ex.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/yekan/yekan-ex.woff') format('woff');
}

@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 900;
	src: url('../fonts/yekan/yekan-900-b.eot');
	src: url('../fonts/yekan/yekan-900-b.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/yekan/yekan-900-b.woff') format('woff');
}

@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 900;
	src: url('../fonts/yekan/yekan-900-e.eot');
	src: url('../fonts/yekan/yekan-900-e.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/yekan/yekan-900-e.woff') format('woff');
}

:root {
    --primary-color: #034ca2;
    --secondary-color: #5779b8ff;
    --black: #000000;
    --white: #ffffff;
    --gray: #efefef;
    --gray-2: #757575;

    --facebook-color: #4267B2;
    --google-color: #DB4437;
    --twitter-color: #1DA1F2;
    --insta-color: #E1306C;
}

* {
    font-family: 'iransans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(to right,#fff,#eee,#f3f3f3);
}

.container {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.row {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
}

.col {
    width: 50%;
}

.align-items-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-wrapper {
    width: 100%;
    max-width: 28rem;
}

.form {
    padding: 1rem;
    background-color: var(--white);
    border-radius: 1.5rem;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: scale(0);
    transition: .5s ease-in-out;
    transition-delay: 1s;
}

.input-group {
    position: relative;
    width: 100%;
    margin: 1rem 0;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--gray-2);
}

.input-group input {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    background-color: var(--gray);
    border-radius: .5rem;
    border: 0.125rem solid var(--white);
    outline: none;
}

.input-group input:focus {
    border: 0.125rem solid var(--primary-color);
}
.title-btn-flex a {
  width: auto;
  padding: 4px 24px;
  text-decoration: none;
}
.form button,
.chabok-club-btn,
.club-btn {
    cursor: pointer;
    width: 100%;
    padding: .6rem 0;
    border-radius: .5rem;
    border: none;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1rem;
    outline: none;
}

.club-yellow-btn {
    background: #f9c11a;
    color: #000;
}

a.cancel-modal {
    float: left;
    text-decoration: none;
    width: auto;
    padding: 10px 19px;
}

.form p {
    margin: 1rem 0;
    font-size: .7rem;
}

.flex-col {
    flex-direction: column;
}
.auth-form-title {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    padding:20px 0;
    color: var(--black);
}
.chabok-dash-content h1 {
  font-size: 1.4rem;
  font-weight: 800;
}
/* =========================
   Mission Form – Professional UI
   ========================= */

.chabok-cc-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 100%;
}

/* Full width fields */
.chabok-cc-form .full-width {
    grid-column: span 3;
}

/* Form group */
.chabok-cc-form .form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group.mb-4.full-width.is-typecheckbox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.form-group.mb-4.full-width.is-typecheckbox .form-label {
  width: 100%;
}
.form-group.mb-4.full-width.is-typecheckbox .form-check {
  margin-left: 10px;
  background: #fff;
  padding: 0 14px;
  border-radius: 7px;
  min-width: 12%;
}
/* Label */
.chabok-cc-form .form-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

/* Points */
.chabok-cc-form .form-label small {
    font-weight: 400;
    font-size: 12px;
    color: #777;
    margin-right: 6px;
}

/* Inputs */
.chabok-cc-form .form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
    background: #fff;
}

.chabok-cc-form .form-control:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Checkbox & Radio */
.chabok-cc-form .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.chabok-cc-form .form-check-input {
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
    cursor: pointer;
}

.chabok-cc-form .form-check-label {
    font-size: 14px;
    cursor: pointer;
}

.chabok-cc-spacer {
  width: 100%;
  margin: 0;
  display: flex;
}
.cc-h40 {
    height: 40px;
}

/* Submit button */
.chabok-cc-form button[type="submit"] {
    grid-column: span 3;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
}
.club-btn.disabled {
    cursor: not-allowed;
}
.chabok-cc-form button[type="submit"]:hover,
.club-yellow-btn:hover,
.club-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

input[disabled],
input[readonly] {
  background: #d0d0d0 !important;
  cursor: not-allowed;
}

.chabok-toggle-edit {
  background: #e48000;
  color: #fff;
  padding: 0 10px;
  border-radius: 10px;
  cursor: pointer;
}

.has-popover {
    position: relative;
}
.chabok-dash-content h2.subtitle {
  margin-bottom: 15px;
}
.chabok-popover {
    position: absolute;
    bottom: 130%; /* بالای دکمه */
    right: 0;
    background: #1f2937;
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    padding: 8px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: all .2s ease;
    z-index: 999;
}

/* فلش */
.chabok-popover::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 10px;
    border-width: 6px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

/* نمایش */
.has-popover:hover .chabok-popover {
    opacity: 1;
    transform: translateY(0);
}


.social-list {
    margin: 2rem 0;
    padding: 1rem;
    border-radius: 1.5rem;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: scale(0);
    transition: .5s ease-in-out;
    transition-delay: 1.2s;
}

.social-list>div {
    color: var(--white);
    margin: 0 .5rem;
    padding: .7rem;
    cursor: pointer;
    border-radius: .5rem;
    cursor: pointer;
    transform: scale(0);
    transition: .5s ease-in-out;
}

.social-list>div:nth-child(1) {
    transition-delay: 1.4s;
}

.social-list>div:nth-child(2) {
    transition-delay: 1.6s;
}

.social-list>div:nth-child(3) {
    transition-delay: 1.8s;
}

.social-list>div:nth-child(4) {
    transition-delay: 2s;
}

.social-list>div>i {
    font-size: 1.5rem;
    transition: .4s ease-in-out;
}

.social-list>div:hover i {
    transform: scale(1.5);
}

.facebook-bg {
    background-color: var(--facebook-color);
}

.google-bg {
    background-color: var(--google-color);
}

.twitter-bg {
    background-color: var(--twitter-color);
}

.insta-bg {
    background-color: var(--insta-color);
}

.pointer {
    cursor: pointer;
}

.container.sign-in .form.sign-in,
.container.sign-in .social-list.sign-in,
.container.sign-in .social-list.sign-in>div,
.container.sign-up .form.sign-up,
.container.sign-up .social-list.sign-up,
.container.sign-up .social-list.sign-up>div {
    transform: scale(1);
}

.content-row {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 6;
    width: 100%;
}

.text {
    margin: 4rem;
    color: var(--white);
    direction: rtl;
}

.text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 2rem 0;
    transition: 1s ease-in-out;
}

.text p {
    font-weight: 400;
    transition: 1s ease-in-out;
    transition-delay: .2s;
}

.img img {
    width: 30vw;
    transition: 1s ease-in-out;
    transition-delay: .4s;
}

.text.sign-in h2,
.text.sign-in p,
.img.sign-in img {
    transform: translateX(-250%);
}

.text.sign-up h2,
.text.sign-up p,
.img.sign-up img {
    transform: translateX(250%);
}

.container.sign-in .text.sign-in h2,
.container.sign-in .text.sign-in p,
.container.sign-in .img.sign-in img,
.container.sign-up .text.sign-up h2,
.container.sign-up .text.sign-up p,
.container.sign-up .img.sign-up img {
    transform: translateX(0);
}

/* BACKGROUND */

.container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300vw;
    transform: translate(35%, 0);
    background-image: linear-gradient(-45deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: 1s ease-in-out;
    z-index: 6;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-bottom-right-radius: max(50vw, 50vh);
    border-top-left-radius: max(50vw, 50vh);
}

.container.sign-in::before {
    transform: translate(0, 0);
    right: 42%;
}

.container.sign-up::before {
    transform: translate(100%, 0);
    right: 57%;
}
.rtl-field,
.rtl-align {
    direction: rtl;
    text-align: right;
}
.chabok-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    padding: 8px 32px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border-radius: 0;
    margin: 0px auto;
    max-width: 100%;
    position: relative;
    z-index: 100;
}
.chabok-nav .logo img {
  width: 166px;
  height: auto;
  cursor: pointer;
  display: flex;
}

/* Center Menu */
.nav-links {
    flex: 1;
    display: flex;
    text-align: right;
    justify-content: right;
    padding-right: 75px;
}

.main-menu {
    display: flex;
    gap: 36px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu > li {
    position: relative;
}

/* Menu Links */
.main-menu a {
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    color: #1f2937;
    padding: 8px 2px;
    transition: all 0.3s ease;
}

/* Hover underline */
.main-menu > li > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.main-menu > li:hover > a::after,
.current-menu-item > a::after {
    width: 100%;
}

/* Active item */
.current-menu-item > a {
    color: #2563eb;
    font-weight: 600;
}

/* Submenu */
.sub-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    list-style: none;
}

.sub-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: #374151;
    transition: background 0.25s ease;
}

.sub-menu a:hover {
    background: #f1f5f9;
    color: #2563eb;
}

/* Backlink */
.nav-backlink a {
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-backlink a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}
.form .success-ajax-final-message {
  font-size: 0.9rem;
  line-height: 2;
  color: green;
  margin-bottom: 31px;
  direction: rtl;
  text-align: center;
}
.form .success-ajax-final-message a {
  margin-top: 30px;
  display: block;
  text-decoration: none;
}
a.forgot-password {
  text-decoration: none;
}
.form-toast {
	position: fixed;
	bottom: 24px;
	right: 0;
    left: 0;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 12px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    direction: rtl;
}
.chabokCCForm .error-text {
  color: red;
  font-size: 11px;
  position: absolute;
  right: 0;
  bottom: -5px;
  right: 14px;
}
.chabokCCForm .form-group .error-text {
  bottom: -17px;
  right: 1px;
}
.chabokCCForm .form-group.has-error input,
.chabokCCForm .form-group.has-error select,
.chabokCCForm .form-group.has-error textarea {
    box-shadow: red 0 0 1px;
}
.verify-timer {
  font-size: 12px;
  margin-bottom: 20px;
  text-align: right;
}
.chabokCCForm .input-group.has-error input {
  box-shadow: red 0 0 1px;
}
.form.sign-up.chabokCCForm .input-group {
  margin: 4px 0;
}
.cc-captcha .input-group {
  display: flex;
  justify-content: space-between;
  direction: rtl;
  align-items: center;
}
.cc-captcha .input-group label {
  margin-left: 10px;
  font-weight: 500;
  width: 50%;
}
.toast {
	min-width: 280px;
	max-width: 360px;
	padding: 14px 18px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.6;
	box-shadow: 0 10px 30px rgba(0,0,0,.15);
	animation: slideIn .4s ease, fadeOut .4s ease 3.5s forwards;
}

.toast-success {
	background: linear-gradient(135deg, #22c55e, #16a34a);
	color: #fff;
}

.toast-error {
	background: linear-gradient(135deg, #ef4444, #dc2626);
	color: #fff;
}

.chabok-css-dashboard-body .chabok-nav {
    position: fixed;
    width: 100%;
    top: 0;
}
.chabok-css-dashboard-body > #container::before {
  content: none;
}

.chabok-css-dashboard-body {
    direction: rtl;
    overflow: auto;
    height: 100%;
    background: linear-gradient( to left, var(--primary-color) 0%, var(--primary-color) 50%, #e5e7eb 50%, #e5e7eb 100% );
}


.club-info-msg {
  background: #e3f4ff;
  padding: 13px;
  border-radius: 10px;
  border: 1px solid var(--primary-color);
}
.close-club-msg {
    visibility: hidden;
}
.club-info-msg.club-is-dismisable span.close-club-msg {
    visibility: visible;
    background-image: url('../img/close-x.svg');
    width: 20px;
    height: 20px;
    background-size: 100%;
    float: left;
    cursor: pointer;
}


/* ===============================
   Backgrounds (Full Page)
================================ */
.bg {
    position: fixed;
    top: 0;
    height: 100%;
    z-index: -1;
}

.bg-blue {
    right: 0;
    width: 2vw;
    background: var(--primary-color);
    z-index: 1;
}

.bg-gray {
    left: 0;
    width: 80vw;
    background: #e5e7eb;
}

/* ===============================
   Page Wrapper (1280px)
================================ */
.chabok-dash-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    padding: 110px 0 50px;
    background: #e5e7eb;
    font-size: 0.9rem;
    line-height: 1.8;
}

.chabok-dash-wrapper::before {
  content: '';
  right: 0;
  left: auto;
  width: 155px;
  background: var(--primary-color);
  position: absolute;
  height: 100%;
  top: 0;
}

/* ===============================
   Sidebar (روی خط جداکننده)
================================ */
.chabok-dash-sidebar {
    position: absolute;
    top: 25%;
    right: 10px;
    width: 280px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 24px;
    z-index: 2;
}

/* ===============================
   Sidebar Menu
================================ */
.chabok-dash-sidebar .sidebar-dash-menu ul {
    list-style: none;
}

.chabok-dash-sidebar .sidebar-dash-menu li + li {
    margin-top: 12px;
}

.chabok-dash-sidebar .sidebar-dash-menu a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
}
.chabok-dash-sidebar .sidebar-dash-menu a img {
    margin-left: 7px;
}

.chabok-dash-sidebar .sidebar-dash-menu a:hover {
    background: #f1f5f9;
}

/* ===============================
   Content
================================ */
.chabok-dash-content {
   max-width: 100%;
    padding-right: 357px;
    width: 100%;
    color:#222;
}

.chabok-dash-content h1 {
    margin-bottom: 14px;
}

.cc-points-dashboard {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
}

.cc-point-block {
  flex: 1;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
}

.cc-point-block img {
  width: 50px;
  height: 50px;
  margin-bottom: 0px;
  position: relative;
  z-index: 3;
}
.cc-point-block::before {
  content: '';
  background: #fff;
  height: 45%;
  left: 0;
  right: 0;
  top: 0;
  bottom: auto;
  position: absolute;
  border-radius: 0 0 150px 150px;
  z-index: 2;
}
.cc-point-block h3 {
  margin: 20px 0 0;
  font-size: 15px;
}

.cc-point-block p {
  font-size: 24px;
  font-weight: bold;
}
.dashboard-swiper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.dashboard-swiper .swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.dashboard-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.menu-toggle {
    display: none;
}
.chabok-dashboard-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* وسط‌چین وقتی کمتر از 6 تاست */
    gap: 16px;
}

.chabok-icon-item {
    flex: 0 0 15.222%;
    max-width: 15.222%;
    text-align: center;
}
.chabok-dashboard-icons.log-section .chabok-icon-item {
    flex: 0 0 19%;
    max-width: 19%;
}

.chabok-icon-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: #1d2327;
    transition: all 0.25s ease;
    font-weight: 700;
  font-family: 'yekan';
  font-size: 13px;
}

.chabok-icon-item a:hover {
    transform: translateY(-3px);
    background: linear-gradient(to bottom, transparent ,transparent,#fff);
    box-shadow: 0 34px 26px -3px rgba(0,0,0,0.12);
}

.chabok-icon-item img {
    width: 125px;
    height: 125px;
    object-fit: contain;
}

.mission-row {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    margin:20px 0;
}

.mission-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.1);
}

/* Image */
.mission-image {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content */
.mission-content {
    flex: 1;
}

.mission-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.mission-desc {
    margin: 6px 0 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Status */
.mission-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.mission-status.done {
    background: rgba(34,197,94,0.15);
    color: #16a34a;
}
.mission-status.infinity {
    background: rgba(59,130,246,0.15);
    color: #2563eb;
}
.mission-status.pending {
    background: rgba(197, 173, 34, 0.15);
    color: #a36b16;
}
/* Score */
.mission-score {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #6366f1;
    min-width: 70px;
}




.points-card {
    background: linear-gradient(135deg, #001953, #010b3a);
    border-radius: 18px;
    padding: 20px;
    color: #e5e7eb;
    max-width: 100%;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.185);
    font-family: inherit;
    margin-bottom: 30px;
}

.points-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.points-title {
    font-size: 15px;
    font-weight: 600;
    opacity: .9;
}

.points-badge {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #334155;
}

.points-badge.approved { background: #16a34a; }
.points-badge.pending  { background: #eab308; color:#000; }
.points-badge.rejected { background: #dc2626; }

.points-progress-wrapper {
    margin-bottom: 18px;
}

.points-progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    overflow: hidden;
}

.points-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    border-radius: 999px;
    transition: width .6s ease;
}

.points-percent {
    margin-top: 6px;
    font-size: 13px;
    text-align: right;
    opacity: .85;
}

.points-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.points-stats .stat {
    background: rgba(255,255,255,.05);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.points-stats .stat small {
    display: block;
    font-size: 12px;
    opacity: .75;
    margin-bottom: 4px;
}

.points-stats .stat strong {
    font-size: 18px;
    font-weight: 700;
}

.points-stats .stat.highlight {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}




.mission-score span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #777;
}

/* Arrow */
.mission-arrow {
    font-size: 20px;
    color: #999;
    transition: all 0.3s ease;
}

.mission-row:hover .mission-arrow {
    color: #6366f1;
    transform: translateX(-4px);
}
.cc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 100%;
}
.cc-mission-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    max-width: 100%;
    width: 100%;
    margin: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    font-family: iransans, sans-serif;
}

.cc-mission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.cc-mission-header h3 {
    margin: 0;
    font-size: 18px;
}

.cc-total-points {
    text-align: left;
}

.cc-total-points span {
    font-size: 12px;
    color: #777;
}

.cc-total-points strong {
    display: block;
    font-size: 22px;
    color: #0d6efd;
}

.cc-mission-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cc-mission-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f9fafb;
    transition: .2s;
}

.cc-mission-item:hover {
    background: #f1f3f5;
}

.cc-item-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cc-item-title {
    font-size: 14px;
    font-weight: 600;
}

.cc-item-value {
    font-size: 13px;
    color: #555;
}

.cc-item-status {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cc-badge {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
}

.cc-badge.success {
    background: #e7f7ef;
    color: #198754;
}

.cc-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.cc-badge.danger {
    background: #f8d7da;
    color: #842029;
}

.cc-points {
    font-size: 13px;
    font-weight: 600;
    color: #198754;
}

.chabok-avatar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 40px auto;
    width: 100%;
}

.chabok-avatar-box {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px dashed #ddd;
    transition: all .3s ease;
}

.chabok-avatar-box:hover {
    border-color: #0073aa;
}

.chabok-avatar-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chabok-avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}

.chabok-avatar-box:hover .chabok-avatar-overlay {
    opacity: 1;
}

.chabok-btn {
    padding: 8px 20px;
    border-radius: 6px;
    background: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.chabok-btn:hover {
    background: #005f8d;
}

.chabok-flex.multiform {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.chabok-flex.multiform form.acc0f {
    width: 60%;
}
.chabok-flex.multiform  .chabok-avatar-form {
    width: 40%;
    display: flex;
    justify-content: center;
}
.j33s::before {
  position: fixed;
  background: #000;
 top: 0;
 bottom: 0;
 left: 0;
 right: 0;
}
.chabok-cc-form.chabokCCForm.acc0f.j33s {
  position: fixed;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  right: 0;
  left: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
}
.for4 {
    position: fixed;
    background: #fff;
    padding: 20px;
    width: 600px;
    top: 0;
    bottom: 0;
    height: 500px;
    margin: auto;
    z-index: 99999;
    border: 1px solid #ccc;
    border-radius: 15px;
}

.cc-image-box {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 20px;
    min-height: 150px;
    cursor: pointer;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.25s ease;
}

.cc-image-box:hover {
    background: #eef2ff;
    border-color: #6366f1;
}

.cc-image-box.dragover {
    background: #e0e7ff;
    border-color: #4f46e5;
}

.cc-image-box img {
    max-width: 100%;
    max-height: 220px;
    border-radius: 8px;
}

.cc-video-box {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 20px;
    min-height: 180px;
    cursor: pointer;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.25s ease;
}

.cc-item-value img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 100px;
}

.cc-video-box:hover {
    background: #ecfeff;
    border-color: #06b6d4;
}

.cc-video-box.dragover {
    background: #cffafe;
    border-color: #0891b2;
}

.cc-video-box video {
    max-width: 100%;
    max-height: 260px;
    border-radius: 8px;
}

.form-group.mb-4.is-typeimage label {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-size: 13px;
  -webkit-box-orient: vertical;
}

.club-referral-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.ref-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.ref-card h2 {
    font-size: 18px;
    margin-bottom: 16px;
}

.ref-code {
    font-size: 26px;
    font-weight: bold;
    background: linear-gradient(135deg,#2563eb,#1e40af);
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
}

.ref-code span {
    display: block;
    font-size: 12px;
    opacity: .8;
    margin-top: 6px;
}

.ref-link {
    display: flex;
    margin-top: 16px;
}

.ref-link input {
    flex: 1;
    padding: 10px;
    border-radius: 0px 8px 8px 0;
    border: 1px solid #ddd;
    font-size: 13px;
}

.ref-link button {
    border: none;
    background: #2563eb;
    color: #fff;
    padding: 0 16px;
    border-radius: 8px 0px 0px 8px;
    cursor: pointer;
}

.ref-share {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.ref-share img {
  width: 30px;
}
.ref-share a {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 13px;
    align-items: center;
    display: flex;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    color:#000;
}

.ref-qr {
    text-align: center;
}

.ref-qr span {
    display: block;
    font-size: 12px;
    margin-top: 6px;
    color: #666;
    text-align: right;
}

.club-rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.reward-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.reward-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

.reward-image {
    position: relative;
    height: 180px;
    background: #f5f5f5;
}

.reward-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reward-lock {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,.7);
    color: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.reward-content {
    padding: 16px;
}

.reward-content h3 {
    margin: 0 0 6px;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}
.short__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}
.reward-content p {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.reward-points {
    font-size: 14px;
    margin-bottom: 10px;
}

.reward-progress .progress-bar {
    height: 8px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.reward-progress .progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border-radius: 10px;
}

.reward-card.is-locked .progress-bar span {
    background: linear-gradient(90deg, #ff9a9e, #fad0c4);
}

.progress-text {
    margin-top: 6px;
    font-size: 12px;
    color: #555;
}

.club-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.club-modal.is-open {
    display: block;
}

.club-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
}

.club-modal-box {
    position: relative;
    max-width: 840px;
    background: #fff;
    margin: 6vh auto;
    border-radius: 18px;
    overflow: hidden;
    animation: modalIn .3s ease;
}
.reward-modal-desc.full {
  height: 180px;
  overflow: auto;
}
.grid-modal {
  display: grid;
  grid-template-columns: 1fr 50%;
  align-items: center;
  margin-bottom: 30px;
}

@keyframes modalIn {
    from {transform: translateY(30px); opacity: 0}
    to {transform: translateY(0); opacity: 1}
}

.club-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 26px;
    cursor: pointer;
}

.club-modal-body {
    padding: 24px;
}

.club-modal-loading {
    text-align: center;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #eee;
    border-top-color: #4facfe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    to {transform: rotate(360deg)}
}

.reward-modal-header img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 12px;
}

.reward-modal-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 16px;
}
.reward-modal-desc.short {
  background: #eee;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.club-btn.success {
    background: linear-gradient(90deg,#4facfe,#00f2fe);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
}

.reward-status-card {
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: inset 0 0 0 1px rgba(79,172,254,.15);
}

.reward-status-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.status-item {
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.status-item span {
    font-size: 11px;
    color: #777;
    display: block;
}

.status-item strong {
    font-size: 16px;
    margin-top: 4px;
    display: block;
}

.status-item.need strong {
    color: #ff7675;
}

.status-item.user strong {
    color: #4facfe;
}

.status-item.stock strong {
    color: #00b894;
}

.reward-progress-wrap {
    margin-top: 6px;
}

.reward-progress-bar {
    height: 10px;
    background: #e5ecf5;
    border-radius: 20px;
    overflow: hidden;
}

.reward-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border-radius: 20px;
    transition: width .4s ease;
}

.reward-progress-text {
    margin-top: 6px;
    font-size: 12px;
    text-align: center;
    color: #555;
}
.title-btn-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.invite-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #e6f9f0, #f4fffa);
    border: 1px solid #b9f0d8;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.4s ease;
}

.invite-icon {
    font-size: 28px;
}

.invite-text {
    font-size: 14px;
    color: #155c3b;
    line-height: 1.8;
}

.invite-text strong {
    color: #0c3d27;
}


.invite-box.success {
    background: #e6f9f0;
    border-color: #9be3c4;
}

.invite-box.warning {
    background: #fff8e5;
    border-color: #f0d38c;
}

.invite-box.error {
    background: #ffecec;
    border-color: #f5a3a3;
}

.invite-link {
    display: inline-block;
    padding: 8px 14px;
    background: #333;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
}

.invite-link:hover {
    background: #000;
}







.chabok-club-wp-theme {
    background: transparent;
    padding-top: 8px;
    padding-bottom: 32px;
    min-height: 100vh;
    color: #1f2937;
}

/* Titles */
.chabok-club-wp-theme-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Meta */
.chabok-club-wp-theme-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 24px;
}

/* Content */
.chabok-club-wp-theme-content {
    line-height: 1.9;
    font-size: 14px;
    text-align: justify;
}

.chabok-club-wp-theme-content img {
    max-width: 100%;
    border-radius: 12px;
}
.chabok-club-wp-theme-content p {
    margin-bottom: 20px;
}
/* Cards */
.chabok-club-wp-theme-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    transition: all .25s ease;
}

.chabok-club-wp-theme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.chabok-club-wp-theme-card h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.chabok-club-wp-theme-card a {
    color: #2563eb;
    text-decoration: none;
}

/* Grid */
.chabok-club-wp-theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Archive Header */
.chabok-club-wp-theme-archive-header {
    margin-bottom: 30px;
}

/* Pagination */
.chabok-club-wp-theme-pagination {
    margin-top: 40px;
    text-align: center;
}

.chabok-club-wp-theme-pagination .page-numbers {
    display: inline-block;
    margin: 0 6px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #e5e7eb;
    color: #111827;
}

.chabok-club-wp-theme-pagination .current {
    background: #2563eb;
    color: #fff;
}

/* Empty */
.chabok-club-wp-theme-empty {
    text-align: center;
    padding: 80px 20px;
    color: #9ca3af;
}

/* Aside Container */
.chabok-club-wp-theme-aside {
    
    padding: 30px 20px;
    background: linear-gradient(180deg, #fff, #fff);
    border-radius: 22px;
    color: #000;
}

/* Auth Box */
.chabok-club-wp-theme-auth-box {
    text-align: center;
}

/* Avatar */
.chabok-club-wp-theme-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    padding: 4px;
}

.chabok-club-wp-theme-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #020617;
}

/* Title */
.chabok-club-wp-theme-auth-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Text */
.chabok-club-wp-theme-auth-text {
    font-size: 14px;
    line-height: 1.7;
    color: #5c5c5c;
    margin-bottom: 22px;
}

/* Buttons */
.chabok-club-wp-theme-auth-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chabok-club-wp-theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}

/* Login */
.chabok-club-wp-theme-btn.login {
    background: rgba(0, 0, 0, 0.84);
    color: #e5e7eb;
    border: 1px solid rgba(255,255,255,.15);
}

.chabok-club-wp-theme-single,
.chabok-club-wp-theme-page {
  background: #fff;
  padding: 80px;
  border-radius: 20px;
  min-height: 100vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.chabok-club-wp-theme-btn.login:hover {
    background: rgb(5, 0, 24);
}

/* Register */
.chabok-club-wp-theme-btn.register {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    box-shadow: 0 10px 25px rgba(99,102,241,.45);
}

.chabok-club-wp-theme-btn.register:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(99,102,241,.6);
}
.chabok-club-wp-theme-page {
  background: #fff;
  box-shadow: 0 0 10px #ccc;
}

.chabok-club-wp-theme-single .thumbnail  {
    margin-bottom: 20px;
}
.chabok-club-wp-theme-single .thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 13px;
}
.chabok-club-wp-theme-home { padding: 20px; }
.chabok-club-wp-theme-home .elm-slider,
.chabok-club-wp-theme-home .elm-news-slider { margin-bottom: 40px; position: relative; }
.chabok-club-wp-theme-home .elm-text { background: #fff; padding: 20px; border-radius: 8px; margin-bottom: 40px; line-height: 1.8; }
.chabok-club-wp-theme-home .elm-text p {
    margin-bottom: 10px;
}
.chabok-club-wp-theme-home .elm-icon-grid { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.chabok-club-wp-theme-home .elm-icon-grid .icon-item { 
    flex: 0 0 209px; display: flex; flex-direction: column; 
    align-items: center; text-align: center; text-decoration: none; color: #333;
    background: #fff;
    border-radius: 10px;
    padding: 17px;
}
.chabok-club-wp-theme-home .elm-icon-grid .icon-item img { 
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
    object-fit: cover; 
}
.chabok-club-wp-theme-home .elm-icon-grid .icon-item .icon-title {
    font-weight: bold;
}
.chabok-club-wp-theme-home .elm-news-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.chabok-club-wp-theme-home .elm-news-grid .news-item { flex: 0 0 calc(33.33% - 20px); box-shadow: 0 2px 8px rgba(0,0,0,0.05); border-radius: 8px; overflow: hidden; }
.chabok-club-wp-theme-home .elm-news-grid .news-item img { width: 100%; display: block; }
.elm-slider.swiper-container img {
  width: 100%;
  border-radius: 10px;
  height: auto;
}
.chabok-club-wp-theme-home .elm-icon-grid .icon-item,
.chabok-club-wp-theme-home .elm-text {
     box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}
.chabok-club-wp-theme-home .news-card-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    margin-bottom: 0px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.chabok-club-wp-theme-home .news-card-horizontal:hover,
.chabok-club-wp-theme-home .elm-icon-grid .icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.chabok-club-wp-theme-home .news-card-horizontal .news-card-content {
    padding: 15px 20px;
    flex: 1;
}

.chabok-club-wp-theme-home .news-card-horizontal h4 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.chabok-club-wp-theme-home .news-card-horizontal p {
    margin: 0;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.chabok-club-wp-theme-home .news-card-horizontal .news-card-arrow {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.2rem;
    color: #0073e6;
    transition: transform 0.3s;
}

.chabok-club-wp-theme-home .news-card-horizontal:hover .news-card-arrow {
    transform: translateX(5px);
}

.chabok-club-wp-theme-home .news-card-horizontal .news-card-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%;
}

.chabok-club-wp-theme-home .news-card-horizontal .news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chabok-club-wp-theme-home .elm-news-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.chabok-club-wp-theme-home .news-card {
    display: flex;
    flex-direction: row-reverse; /* عکس سمت راست */
    align-items: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 120px;
}

.chabok-club-wp-theme-home .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.chabok-club-wp-theme-home .news-card-thumb {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
    margin-left: 15px;
}

.chabok-club-wp-theme-home .news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chabok-club-wp-theme-home .news-card-content {
    flex: 1;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chabok-club-wp-theme-home .news-card-content h4 {
    margin: 0 0 5px;
    font-size: 1rem;
    font-weight: 600;
}

.cc-home-section-title {
  color: var(--primary-color);
  margin-bottom: 13px;
  font-size: 18px;
}
.cc-home-section-title.cc-center-title {
  text-align: center;
}

.chabok-club-wp-theme-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-radius: 10px;
    background: rgba(0, 76, 255, 0.12);
    transition: all .25s ease;
}

.chabok-club-wp-theme-back-link:hover {
    background: rgba(15, 23, 42, 0.1);
    color: #0f172a;
}

.chabok-club-wp-theme-back-icon {
    font-size: 18px;
    line-height: 1;
    transition: transform .25s ease;
}

.chabok-club-wp-theme-back-link:hover .chabok-club-wp-theme-back-icon {
    transform: translateX(4px);
}

.chabok-club-wp-theme-home .elm-text {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* محتوای متن */
.chabok-club-wp-theme-home .elm-text-content {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #444;
}

/* حالت بسته (۴ خط) */
.chabok-club-wp-theme-home .elm-text-collapsed .elm-text-content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* فید انتهای متن */
.chabok-club-wp-theme-home .elm-text-fade {
    display: none;
}

.chabok-club-wp-theme-home .elm-text-collapsed .elm-text-fade {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0.95)
    );
}

/* دکمه */
.chabok-club-wp-theme-home .elm-text-toggle {
    margin-top: 10px;
    background: none;
    border: none;
    color: #0073e6;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chabok-club-wp-theme-home .elm-text-toggle::after {
    content: "⬇";
    transition: transform 0.3s;
}

.chabok-club-wp-theme-home .elm-text-expanded .elm-text-toggle::after {
    transform: rotate(180deg);
}


.chabok-footer-menu {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 24px 0 0;
  max-width: 500px;
  margin: 0 auto;
  left: 0;
  right: 0;
  display: none;
}

.chabok-footer-menu .nav-box {
  display: flex;
  padding: 8px;
  background-color: #fff;
  box-shadow: 0px 0px 16px 0px #4444;
  border-radius: 8px;
}
.chabok-footer-menu .nav-container {
  display: flex;
  width: 100%;
  list-style: none;
  justify-content: space-around;
}
.chabok-footer-menu .nav__item {
  display: flex;
  position: relative;
  padding: 2px;
}
.chabok-footer-menu .nav__item.active .nav__item-icon {
  margin-top: -26px;
  box-shadow: 0px 0px 16px 0px #4444;
}
.chabok-footer-menu .nav__item.active .nav__item-text {
  transform: scale(1);
}
.chabok-footer-menu .nav__item-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #2f3046;
  text-decoration: none;
}
.chabok-footer-menu .nav__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6em;
  background-color: #fff;
  border-radius: 50%;
  height: 46px;
  width: 46px;
  transition: margin-top 250ms ease-in-out, box-shadow 250ms ease-in-out;
}
.nav__item-icon img {
    width: 29px;
    margin-bottom: 12px;
    transition: all 200ms;
}
.chabok-footer-menu .nav__item-text {
  position: absolute;
  font-size: 12px;
  bottom: -6px;
  transform: scale(0.7);
  transition: all 250ms ease-in-out;
}

.nav__item.active  .nav__item-text {
    bottom: 0;
}
.nav__item.active img {
    margin-bottom: 0;
        transition: all 200ms;
}
.auth .chabok-footer-menu {
    display: none;
}
/* انیمیشن نرم */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes slideIn {
	from {
		transform: translateX(120%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes fadeOut {
	to {
		opacity: 0;
		transform: translateX(120%);
	}
}


/* RESPONSIVE */

@media screen and (max-width: 1300px) {
   .chabok-dash-content {
    padding-left: 30px;
   }
    
}

@media (max-width: 1024px) {
    .chabok-icon-item {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .chabok-dashboard-icons.log-section .chabok-icon-item {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .menu-toggle {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 22px;
        position: relative;
        z-index: 100;
        font-size: 26px;
        line-height: 1.03;
        background: none;
        margin-right: 30px;
        border: 0;
        
        transition: all 400ms;
    }
    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        background: #fff;
        z-index: 99;
        bottom: 0;
        max-width: 300px;
        padding: 18px 8px;
        top: 61px;
        width: 100%;
        visibility: hidden;
        opacity: 0;
        transform: translateX(100%);
        transition: all 400ms;
    }
    .main-menu {
        display: block;
        width: 100%;
    }
    .main-menu a {
        width: 100%;
        display: block;
        padding: 10px;
    }
    .chabok-nav {
        padding:8px;
    }
    .chabok-nav .logo {
        display: flex;
        align-items: center;
    }
    .chabok-nav .logo img {
        width: 130px;
        cursor: pointer;
    }
    .nav-backlink a {
        padding: 8px 10px;
    }
    .nav-links.chabok-active {
        visibility: visible;
        opacity: 1;
        transform: translateX(0%);
        transition: all 400ms;
        z-index: 999;
    }
    .menu-toggle.chabok-active::before {
        content: '';
        display: block;
        background: rgba(0, 0, 0, 0.671);
        position: fixed;
        left: 0;
        top: 61px;
        transition: all 400ms;
        bottom: 0;
        right: 0;
        z-index: 1;
    }
    .chabok-dash-sidebar {
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(100%);
        bottom: 0;
        visibility: hidden;
        opacity: 0;
                top: 61px;
    }
    .chabok-dash-sidebar.chabok-active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
        transition: all 400ms;
        z-index: 1000;

        border-radius: 10px 0 0 10px;
    }
    .bg-blue {
        width: 0;
    }
    .chabok-dash-wrapper div[style="position: fixed;top: 25%;"] {
       position: unset !important;
    }
    .chabok-css-dashboard-body .nav-links {
        display: none;
    }
    .chabok-dash-content {
        padding-right: 20px;
        padding-left: 20px;
    }
    .chabok-dash-wrapper::before {
        background: transparent;
        content: none;
    }

}

@media (max-width: 768px) {
    .chabok-mission-form {
        grid-template-columns: 1fr;
    }
    .form-section-title.full-width,
    .form-section-title {
        margin-bottom: 20px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 14px;
        padding: 13px 7px;
    }
    .chabok-flex.multiform form.acc0f,
    .chabok-flex.multiform.steper-form,
    .chabok-cc-form.chabokCCForm.chabok-avatar-form,
    .chabok-cc-form.chabokCCForm.chabokCCPasswordForm,
    .chabok-cc-form.chabokCCForm {
        width: 100%;
        display: block;
        background-color: #fff;
        padding:13px 7px;
        border-radius: 10px;
    }
    .form-group.mb-4,
    .chabok-cc-form.chabokCCForm .form-group.mb-4 {
        margin-bottom: 21px;
    }
    .chabok-cc-form .full-width,
    .chabok-cc-form button[type="submit"] {
        grid-column: span 1;
    }

    .chabok-icon-item {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
    .chabok-dash-wrapper {
        padding-top: 76px;
    }

}

@media only screen and (max-width: 555px) {
    .chabok-footer-menu {
        display: block;
    }
    .points-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .chabok-club-wp-theme-single, .chabok-club-wp-theme-page {
        height: 100%;
        padding: 20px;
    }
    .mission-image {
        width: 45px;
        height: 45px;
    }
    .mission-desc {
        display: none;
    }
    .mission-title,
    .mission-score {
        font-size: 13px;
    }
    .mission-title {
        font-size: 14px;
        margin-bottom: 18px;
    }
    .mission-row {
        padding-right: 10px;
        padding-left: 10px;
        position: relative;
    }
    .mission-status {
        font-size: 11px;
        padding: 0 10px;
        position: absolute;
        bottom: 10px;
        right: 68px;
    }
    .container::before,
    .container.sign-in::before,
    .container.sign-up::before {
        height: 100vh;
        border-bottom-right-radius: 0;
        border-top-left-radius: 0;
        z-index: 0;
        transform: none;
        right: 0;
    }

    /* .container.sign-in .col.sign-up {
        transform: translateY(100%);
    } */

    .container.sign-in .col.sign-in,
    .container.sign-up .col.sign-up {
        transform: translateY(0%);
        bottom: 0;
        overflow: auto;
        height: 600px;
        padding-bottom: 100px;
        padding-top: 26px;
        top: auto;
    }
    .container.sign-in .col.sign-in {
        height: calc(100vh - 190px);
        padding-bottom: 100px;
        padding-top: 26px;
        justify-content: flex-start;
    }
    .container.sign-up .col.sign-up {
        overflow: auto;
            height: calc(100vh - 190px);
            z-index: 9;
            padding-top: 30px;
            justify-content: flex-start;
    }

    #container.container.sign-up {
       
    }

    .content-row {
        align-items: flex-start !important;
    }

    .content-row .col {
        transform: translateY(0);
        background-color: unset;
    }

    .col {
        width: 100%;
        position: absolute;
        padding: 1rem;
        background-color: var(--white);
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
        transform: translateY(100%);
        transition: 1s ease-in-out;
    }

    .row {
        align-items: flex-end;
        justify-content: flex-end;
    }

    .form,
    .social-list {
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    .text {
        margin: 0;
    }

    .text p {
        display: block;
    }

    .text h2 {
        margin: .5rem;
        margin-top: 100px;
        font-size: 1rem;
    }

    .chabok-dash-content {
        padding-right: 10px;
        padding-left: 10px;
    }
    .cc-point-block::before {
        content: none;
    }
    .cc-point-block h3 {
        margin: 0;
        font-size: 12px;
    }
    .cc-point-block p {
        font-size: 15px;
        font-weight: bold;
        position: absolute;
        top: -12px;
        background: #fff;
        color: #000;
        min-width: 35px;
        border-radius: 12px 10px 10px 0;
        right: 5px;
    }
    .cc-point-block img {
        width: 40px;
        height: 40px;
        margin-bottom: 0px;
        position: relative;
        z-index: 3;
    }
    .cc-point-block {
        padding: 15px 3px 4px;
    } 
    .cc-points-dashboard {
        gap: 15px;
    }
    .chabok-icon-item {
        flex: 0 0 33.3333%;
        max-width: 30.111%;
    }
    .chabok-icon-item img {
        width: 90px;
        height: 90px;
        object-fit: contain;
    }
    .chabok-icon-item a {
        padding:0;
    }
    .chabok-dash-wrapper,
    .container,
    .chabok-dash-content, .chabok-dash-wrapper,
    .chabok-club-container.layout-body {
        height: auto;
        min-height: auto;
        overflow: hidden;
        min-height: 100vh;
    }
    html, body {
        height: 100%;
        overflow: auto;
    }
    .chabok-css-dashboard-body {
        background:var(--primary-color);
    }
    .chabok-dash-sidebar {
        padding:24px 0;
    }
    .club-rewards-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    .reward-image {
        position: relative;
        height: 120px;
        background: #f5f5f5;
    }
    .reward-content p {
        display: none;
    }
    .grid-modal {
        display: block;
    }
    .club-modal-body {
        padding: 24px 20px 110px;
        overflow: auto;
        height: 92vh;
    }
    .reward-modal-desc.full {
        height: auto;
    }
    .reward-modal-action {
        position: fixed;
        bottom: 0;
        z-index: 999999999;
        left: 0;
        right: 0;
        background: #fff;
        padding-bottom: 20px;
        padding-top: 15px;
        padding-right: 15px;
        padding-left: 15px;
        box-shadow: 0 0 10px #ccc;
    }
    .chabok-club-wp-theme-home {
        padding:0;
    }
    .chabok-club-wp-theme-home .elm-slider, .chabok-club-wp-theme-home .elm-news-slider {
        margin-bottom: 7px;
    }
    .chabok-club-wp-theme-home .elm-text {
        margin-bottom: 15px;
    }
    .chabok-club-wp-theme-home .elm-icon-grid .icon-item {
        flex: 0 0 47.5%;
    }
    .chabok-club-wp-theme-home .elm-icon-grid .icon-item img,
    .chabok-club-wp-theme-home .news-card-horizontal .news-card-thumb {
        width: 85px;
        height: 85px;
    }
    .chabok-club-wp-theme-home .news-card-horizontal p {
        line-clamp: 1;
    }
    .chabok-club-wp-theme-home .news-card-content h4 {
        font-size: 0.9rem;
    }
    .chabok-dash-content.chabok-club-wp-theme {
        padding-top: 0;
    }
    .chabok-club-wp-theme-auth-box {
    text-align: center;
    padding: 45px 19px;
    }
}