/* Instant Blog v3.3 */
@font-face {
  font-family: "Lalezar";
  src: url("/fonts/Lalezar.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root,
:root.dark {
  --bg-color: #1f1d2b;
  --text-color: #f8f9fa;
  --card-bg: #292e3c;
  --card-brd: none;
  --btn-arrow-color: #2d303e;
  --btn-arrow-hover: #242631;
  --bg-user: #292e3c;
  --bg-input: #252836;
  --bg-input-border: #454a62;
  --bg-gray: #3f4756;
  --ql-gray: #918c8c;
  --crd-shdw: none;
}

:root.light {
  --bg-color: #f7f7f7;
  --text-color: #212529;
  --card-bg: #ffffff;
  --card-brd: 1px solid rgba(0, 0, 0, 0.125);
  --btn-arrow-color: #252830;
  --btn-arrow-hover: #1e2023;
  --bg-user: #fafafa;
  --bg-input: #ffffff;
  --bg-input-border: #d8e2e7;
  --bg-gray: #e9ecef;
  --ql-gray: #444;
  --crd-shdw: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

html {
  height: 100% !important;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Lalezar", Tahoma, sans-serif;

}

a {
  text-decoration: none;
}

a.text-mode:hover {
  color: #6c757d;
  text-decoration: none;
}

.container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

/*Navigation*/
.bg-faded {
  background-color: #fff;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.0975);
}

.navbar {
  padding: 0.5rem 1rem;
}

.bg-nav {
  margin-top: 1rem;
}

.nav-icon {
  font-size: 1.3rem;
  vertical-align: middle;
}

/*New Style*/
.span-move {
  cursor: move;
  cursor: -webkit-grabbing;
}

.span-click {
  cursor: pointer;
}

.myeditor {
  margin-bottom: 50px;
}

.tiktok-embed {
  font-size: 1em;
  font-style: normal;
  color: #555555;
  padding: 0px;
  border-left: 0px;
  background: #fff;
}

blockquote {
  font-size: 1em;
  width: 100%;
  margin: 50px auto;
  font-style: italic;
  color: var(--text-color);
  padding: 1em 30px;
  border-left: 8px solid #2163e8;
  line-height: 1.6;
  position: relative;
  background: var(--bg-gray);
  border-radius: 3px;
}

blockquote::after {
  content: '';
}

blockquote span {
  display: block;
  color: #333333;
  font-style: normal;
  font-weight: bold;
  margin-top: 1em;
}

pre {
  background-color: #23241f;
  width: 100%;
  padding: 5px 10px;
  white-space: pre-wrap;
  margin-bottom: 5px;
  margin-top: 5px;
  color: #f8f8f2;
  overflow: visible;
  border-radius: 3px;
}

/*Page Loader*/
#se-pre-con {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 200;
}

/*border radius*/
.border-one {
  border-radius: 1rem !important;
}

.border-two {
  border-radius: 1rem 1rem 0 0 !important;
}

.border-youtube {
  border-radius: 1rem 1rem 0 0 !important;
  overflow: hidden;
  z-index: 1;
}

.border-youtube-all {
  border-radius: 1rem !important;
  overflow: hidden;
  z-index: 1;
}

/*Pagination*/

.pagination > li > a,
.pagination > li > span {
  border-radius: 50% !important;
  margin: 0 5px;
  line-height: 1 !important;
}

.dark-link {
  color: #ffffff;
  background-color: #3f4756;
  border: none;
}

.page-item.disabled .page-link {
  color: #5e6369;
  pointer-events: none;
  background-color: #3f4756;
  border: none;
}

/*Adsense*/
.pagesideads {
  max-height: 300px !important;
  background-color: #2c2f39;
}

.betads {
  max-width: 500px !important;
}
/*Jumbotronstyles*/

.jumbotron {
  padding: 2rem 1rem 2rem 1rem;
  border-radius: 0rem;
  color: inherit;
  border-bottom: 1px solid rgba(0, 0, 0, 0.0975);
}

.display-4 {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
}

.blog-footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.w-15 {
  width: 15% !important;
}

.w-85 {
  width: 85% !important;
}
/*Card styles*/

.card {
  margin-bottom: 40px !important;
  border: 0 !important;
  background-color: var(--card-bg);
  color: var(--text-color);
}

.card-img {
  min-height: 200px;
}

.card-img-top {
  width: 100%;
}

.card a,
.card a:focus,
.card a:hover {
  text-decoration: none;
  outline: none;
}

.card-txt-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 3rem 1.25rem;
}

.card-blog-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem 1.25rem 3rem 1.25rem;
}

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

.arrows a,
.arrows a:focus,
.arrows a:hover {
  text-decoration: none;
  outline: none;
}

.card-footer {
  background-color: var(--card-bg);
  padding: 0.75rem 1rem !important;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 1rem !important;
}

.card-border {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.card-info {
  margin-bottom: 3rem !important;
  border: 0 !important;
  background-color: var(--card-bg);
}

.card-shadow {
  box-shadow: var(--crd-shdw) !important;
}

.less-pad {
  padding: 0.4rem 1rem;
}

.tweettext {
  font-size: 1rem;
  line-height: 1.5;
  font-family: Arial, sans-serif;
  color: #292f33;
  word-wrap: break-word;
}

.list-item {
  display: block;
  position: relative;
}

.list-left {
  float: left;
  padding-right: 7px;
}

.list-body {
  margin-left: 52px;
}

.text-muted {
  color: inherit !important;
  opacity: 0.6;
}

.user-info {
  display: block;
  width: 90%;
  position: absolute;
  bottom: 1.25rem;
}

.author {
  display: flex;
  position: absolute;
  color: inherit;
  left: 1.25rem;
  bottom: 1rem;
  align-items: center;
  z-index: 3;
}

.vbadge {
  margin-left: 5px;
}

.verficon {
  font-size: 14px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}


.card .author:hover {
  color: inherit;
}

.card .nocolor {
  color: inherit;
}
.card .nocolor:hover {
  color: inherit;
}

.card-date {
  display: inline-block;
  position: absolute;
  right: 1.25rem;
  bottom: 1.4rem;
}

.card-like {
  display: inline-block;
  position: absolute;
  padding: 0.25rem;
  right: 1.25rem;
  bottom: 0.80rem;
  z-index: 3;
}

.card-count {
  margin-top: 0.82rem;
  margin-left: 2rem;
  font-size: 16px;
  color: #999999;
}

.stats {
  display: inline-block;
  float: right;
  margin-top: 0.3rem;
}

.bottom-txt {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 4rem;
  z-index: 0;
  text-shadow: 1px 1px 10px #000;
}

.txt-shad {
  text-shadow: 1px 1px 5px #343a40;
}

.playericon {
  position: absolute;
  font-size: 1.6rem;
  top: 0.6rem;
  right: 1.25rem;
  z-index: 3;
}

.category {
  display: block;
  position: absolute;
  right: 0;
  top: -15px;
  width: 100%;
  z-index: 10;
  text-align: center;
}

.category a {
  font-size: 15px;
  color: #fff;
  display: inline-block;
  padding: 4px 25px;
  vertical-align: top;
  border-radius: 25px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.stripes {
  background-image: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.05) 25%,
    transparent 25%,
    transparent 50%,
    rgb(0 0 0 / 0.05) 50%,
    rgb(0 0 0 / 0.05) 75%,
    transparent 75%,
    rgb(0 0 0 / 0)
  );
  background-size: 50px 50px;
}

.category-middle {
  font-size: 12px;
  text-transform: uppercase;
  padding: 0.25rem;
  position: absolute;
  top: 1rem;
  right: 3rem;
  z-index: 3;
}

.avatar {
  height: 45px;
  margin-right: 5px;
}

.avatar-sm {
  height: 35px;
  margin-right: 5px;
}

.avatar-xs {
  height: 25px;
  margin-right: 5px;
}

.imgthumb {
  height: 38px;
  width: 38px;
  border-radius: 5px;
}

.time {
  white-space: nowrap;
  float: right;
}

.text-ellipsis {
  display: block;
}

.marginlt {
  margin-top: 1.5rem;
}

.btn-face {
  color: #fff !important;
  background-color: #3b5998;
  border-color: #3b5998;
  margin-left: 5%;
  margin-right: 5%;
  display: block;
}

.btn-face:hover,
.btn-face:focus {
  background-color: #30487b;
  outline: none;
}

.btn-google {
  color: #fff !important;
  background-color: #db4437;
  border-color: #db4437;
  display: block;
  margin-left: 5%;
  margin-right: 5%;
}

.btn-google:hover,
.btn-google:focus {
  background-color: #c9302c;
  outline: none;
}

.btn-grad {
  background-image: linear-gradient(
    to right,
    #da22ff 0%,
    #9733ee 51%,
    #da22ff 100%
  );
}
.btn-grad {
  font-size: 16px;
  font-weight: bold;
  transition: 0.5s;
  background-size: 200% auto;
  color: #fff !important;
  border: none;
  display: block;
  padding: 0.375rem 1.5rem;
}

.btn-grad:hover {
  background-position: right center;
  text-decoration: none;
}

.btn-face-login {
  color: #fff !important;
  background-color: #1877f2;
  border-color: #1877f2;
  margin-left: 5%;
  margin-right: 5%;
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.25px;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}

.btn-face-login:hover,
.btn-face:focus {
  background-color: #1877f2;
  outline: none;
}

.btn-google-login {
  color: #fff !important;
  background-color: #4285f4;
  border: none;
  display: block;
  font-family: Roboto-Medium, arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.21px;
  margin-left: 5%;
  margin-right: 5%;
  padding: 2px;
  text-align: left;
  border-radius: 0.15rem;
}

.btn-google-login:hover,
.btn-google:focus {
  background-color: #4285f4;
  outline: none;
}

.social i {
  margin-right: 15px;
  font-size: 21px;
  line-height: 21px;
  vertical-align: top;
}

.btn-white-color {
  color: #fff !important;
}

.bg-post {
  border-left: 1px solid rgba(0, 0, 0, 0.0975);
  border-right: 1px solid rgba(0, 0, 0, 0.0975);
  background-color: #fff !important;
  word-wrap: break-word;
  padding-right: 0px;
  padding-left: 0px;
}

.sociallogin {
  margin-bottom: 10px;
}

.ordiv {
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  border-radius: 50%;
  font-size: 18px;
  color: var(--bg-input-border);
  text-align: center;
  background: var(--card-bg);
  border: 2px solid var(--bg-input-border);
  margin: auto;
}

.colleft {
  width: 25%;
  float: left;
  display: block;
}

.colright {
  float: left;
  width: 25%;
  display: inline-block;
  padding-top: 12px;
}

.change-ratio {
  width: 100%;
  margin: -10% 0;
}

.btn-circle {
  width: 50px;
  height: 50px;
  padding: 10px 13px;
  position: absolute;
  top: 40%;
  left: 45%;
  right: 0;
  cursor: pointer;
  font-size: 24px;
  line-height: 1.25em;
  border-radius: 35px;
  border: 2px solid #fff;
}

/*Admin*/

.box-white {
  border-radius: 1rem !important;
  background: var(--card-bg);
  padding: 2rem;
}

.nav-tabs {
  border-bottom: none;
}

.admin-item {
  border-bottom: 1px solid #f7f7f9;
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}

.admin-item-img {
  display: block;
  float: left;
  margin-right: 15px;
  width: 50px;
}

.admin-image {
  width: 50px;
}

.admin-item-user {
  color: #212325;
  display: block;
  margin: 0;
}

.admin-item-text {
  color: #818a91;
  display: block;
  font-size: 12px;
  margin: 0;
}

.member-item-user {
  color: var(--text-color);
  display: block;
  margin: 0;
}

.member-item-text {
  display: block;
  font-size: 12px;
  margin: 0;
}

.admin-simple-sm {
  background: var(--bg-input);
  -webkit-border-radius: 0.25rem;
  border-radius: 1rem;
  text-align: center;
}

.admin {
  margin: 0 0 30px;
}

.admin-simple-sm .admin-simple-sm-icon {
  height: 80px;
  overflow: hidden;
  line-height: 80px;
  font-size: 2.75rem;
}

.home-icon {
  position: relative;
  top: 5px;
}

.color-blue {
  color: #00a8ff !important;
}

.color-red {
  color: #e52d27 !important;
}

.color-delete {
  color: #f4645f !important;
}

.admin-simple-sm-bottom {
  border-top: solid 1px #d8e2e7;
  background: #f6f8fa;
  font-weight: 600;
  padding: 15px 10px;
  font-size: 0.9375rem;
  line-height: normal;
  -webkit-border-radius: 0 0 3px 3px;
  border-radius: 0 0 3px 3px;
}

.bottom-white {
  background: #fff !important;
}

/*Profile*/
.box-profile {
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background: #fff;
  border: solid 1px #d8e2e7;
  margin: 0 0 20px;
}

.profile-card {
  display: inline-block;
  padding-right: 15px;
  float: left;
}

.profile-card-photo {
  max-width: 150px;
  border: 5px solid #fff;
  border-radius: 100%;
}

.profile-card-username {
  color: #6c7a86;
}

.profile-card-points {
  color: #6c7a86;
  font-size: 0.8rem;
}

.profile-card-name {
  font-weight: 600;
  margin-top: 18px;
  font-size: 1.2rem;
}

.profile-statistic {
  text-align: center;
  font-size: 0.9375rem;
}

.level {
  vertical-align: middle;
  border-top: solid 1px #d8e2e7;
  border-bottom: solid 1px #d8e2e7;
  padding: 10px;
}

.points {
  vertical-align: middle;
  border-bottom: solid 1px #d8e2e7;
  padding: 10px;
}

.profile-links-list {
  padding: 10px 0;
  font-size: 0.9375rem;
  display: flex;
  margin-bottom: 0;
}

.profile-links-list li {
  padding: 4px 0;
  margin: 0 5px;
}

.profile-links-list li.nowrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*New 3.0*/
.header {
  margin-bottom: 2rem;
}

.header-img-top {
  width: 100%;
  height: auto;
  max-height: 200px;
}

.header-body {
  padding-top: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.header-title {
  margin-bottom: 0;
}

.mt-n6 {
  margin-top: -4.5rem !important;
}

.list-bg {
  color: inherit !important;
  background: var(--bg-user);
}

.list-bg-unread {
  color: inherit !important;
  background: var(--bg-gray);
}

.btn-white-shadow {
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 100%;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}

.btn-white-shadow:hover,
.btn-white-shadow:focus {
  background-color: #e9ecef;
  color: #000;
}

.follow-card {
  color: var(--text-color);
  border-color: var(--bg-input-border);
}

.follow-card a {
  color: var(--text-color);
}

.theme-btn {
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.theme-btn.light {
  display: none;
}

.dark .theme-btn.light {
  display: block;
}

.dark .theme-btn.dark {
  display: none;
}

.navbar-light .navbar-nav .nav-link {
  color: #212529;
}

.bg-userside {
  background: var(--bg-user);
}

.text-mode {
  color: var(--text-color);
}

.border-comment {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

#dynamic_com .maincom:last-child .d-flex:last-child .border-comment {
  border-bottom: none !important;
}

.dropdown-menu {
  color: var(--text-color);
  background-color: var(--card-bg);
  border-color: rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  color: var(--text-color);
}

.dropdown-item:hover {
  color: var(--text-color);
  background-color: var(--bg-gray);
}

.ql-editor {
  background-color: var(--bg-input);
}

.ql-container.ql-snow,
.ql-toolbar.ql-snow {
  border: 1px solid var(--bg-input-border) !important;
}

.ql-snow .ql-stroke {
  stroke: var(--text-color) !important;
}

.ql-snow .ql-fill {
  fill: var(--ql-gray) !important;
}

.form-select {
  color: var(--text-color);
  background-color: var(--bg-input);
  border: 1px solid var(--bg-input-border);
}

.form-check-input {
  background-color: var(--bg-input);
  border: 1px solid var(--bg-input-border);
}

.form-control {
  color: var(--text-color);
  background-color: var(--bg-input);
  border: 1px solid var(--bg-input-border);
}

.form-control[readonly] {
  background-color: var(--bg-gray);
}
.form-control:focus {
  color: var(--text-color);
  background-color: var(--bg-input);
  border-color: var(--bg-input-border);
}

/*Emojis*/
.emoji {
  height: 1.25em;
  width: 1.25em;
  padding: 0 0.05em 0 0.1em;
  vertical-align: -0.2em;
}

/*Heart*/
.heart {
  background: url(../images/heart.png);
  background-position: left;
  background-repeat: no-repeat;
  height: 50px;
  width: 50px;
  cursor: pointer;
  position: absolute;
  left: 0px;
  background-size: 1450px;
}

.heartguest {
  background: url(../images/heart.png);
  background-position: left;
  background-repeat: no-repeat;
  height: 50px;
  width: 50px;
  cursor: pointer;
  position: absolute;
  left: 0px;
  background-size: 1450px;
}

.heart:hover {
  background-position: right;
}

.heartliked {
  background-position: right;
}

.likenumber {
  margin-left: 2rem;
  font-size: 16px;
  color: #999999;
  line-height: 1;
}

.like {
  margin-top: -1px;
}

.btnadd {
  border-radius: 0.25rem;
  font-weight: bolder;
  cursor: pointer;
}

#texteditor {
  border-radius: 0.25rem;
  font-weight: bolder;
  cursor: pointer;
}

.btnhome {
  color: var(--text-color);
  background: var(--bg-input);
  border: 1px solid var(--bg-input-border);
  border-radius: 1rem;
  cursor: pointer;
}

.btnhome:hover {
  color: var(--text-color);
  border: 1px solid var(--bg-input-border);
  background: var(--bg-user);
}

.btn-light {
  border: 1px solid var(--bg-input-border);
  color: var(--text-color);
  background-color: var(--bg-user);
}

.btn-light:hover {
  border: 1px solid var(--bg-input-border);
  color: var(--text-color);
  background: var(--bg-input);
}

.btn-light:focus,
.btn-light:active {
  border: 1px solid var(--bg-input-border);
  color: var(--text-color);
  background: var(--bg-input);
}

.btn-arrow {
  color: #fff;
  background-color: var(--btn-arrow-color);
  border-color: var(--btn-arrow-color);
}

.btn-arrow:hover {
  color: #fff;
  background-color: var(--btn-arrow-hover);
  border-color: var(--btn-arrow-hover);
}

.btn-arrow:focus,
.btn-arrow.focus {
  box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}

.btnpoint {
  cursor: pointer;
}

.bg-none {
  background: none !important;
}

.bg-over {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  width: 100%;
}

.bg-over:hover {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  width: 100%;
}

.link-over {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.embedbox {
  max-width: 400px;
  text-align: center;
}

.embedbox-tiktok {
  max-width: 325px;
  text-align: center;
}

.nav-pro .nav-link {
  color: var(--text-color);
}

.nav-pro .nav-link:hover {
  color: var(--text-color);
}

.nav-pro .nav-link.active {
  color: var(--text-color);
  font-weight: 600;
  border-bottom: 4px solid rgb(29, 155, 240);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: var(--text-color);
  background-color: var(--bg-input);
  border: 1px solid var(--bg-input-border);
  font-weight: 500;
}

.color-box {
  border-radius: 0.25rem;
  padding: 0 1rem;
  font-size: 22px;
}

.tag-img {
  height: 200px;
  border-radius: 1rem;
}

.list-inline-item:not(:last-child) {
  margin-right: 1rem;
}

/*Additional*/

.cover {
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
}

.youtube {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0;
}

.youtube .play-btn {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 3px solid #fff;
  border-radius: 50%;
  padding: 0;
  margin: 0 auto;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.6);
  transition: background-color 0.5s ease;
}

.youtube .play-btn:after {
  position: absolute;
  top: calc(50% - 15px);
  left: calc(50% - 8px);
  display: block;
  content: '';
  box-sizing: border-box;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
  border-width: 15px 0 15px 25px;
}

.bg-cat-1 {
  background-color: #845ec2 !important;
}
.bg-cat-1:hover {
  background-color: #624a8a !important;
}

.bg-cat-2 {
  background-color: #ff847d !important;
}
.bg-cat-2:hover {
  background-color: #ce6f69 !important;
}

.bg-cat-3 {
  background-color: #c2791e !important;
}
.bg-cat-3:hover {
  background-color: #9c713b !important;
}

.bg-cat-4 {
  background-color: #f076d0 !important;
}
.bg-cat-4:hover {
  background-color: #bf5ea6 !important;
}

.bg-cat-5 {
  background-color: #c2a875 !important;
}
.bg-cat-5:hover {
  background-color: #a28d63 !important;
}

.short-select {
  flex: 0 1 100px !important;
}

.cat-bx {
  float: left;
  width: 15px;
  height: 15px;
  margin: 5px;
  border-radius: 2px;
}

@-webkit-keyframes heartBlast {
  0% {
    background-position: left;
  }
  100% {
    background-position: right;
  }
}

@keyframes heartBlast {
  0% {
    background-position: left;
  }
  100% {
    background-position: right;
  }
}

.heartAnimation {
  -webkit-animation-name: heartBlast;
  animation-name: heartBlast;
  -webkit-animation-duration: 0.8s;
  animation-duration: 0.8s;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation-timing-function: steps(28);
  animation-timing-function: steps(28);
  background-position: right;
}

.lesspadding {
  padding-right: 10px;
  padding-left: 10px;
}

/*Cookie*/

.toastdark {
  background-color: rgba(63,71,86);
  border-radius: 1rem;
  border: none!important;
}

.toastdarkhead {
  background: none!important;
  border-bottom: none!important;
}

/*Responsive*/
@media (max-width: 576px) {
  .jumbotron {
    padding: 2rem 1rem 2rem 1rem;
  }
}

/*Salvattore grid css and Responsive*/
.grid[data-columns]::before {
  content: '3 .column.size-1of3';
}

@media screen and (max-width: 544px) {
  .grid[data-columns]::before {
    content: '1 .column.size-1of1';
  }
  .display-4 {
    font-size: 2rem;
  }
  .header-img-top {
    min-height: 150px;
    object-fit: cover;
  }
}

@media screen and (min-width: 544px) and (max-width: 768px) {
  .grid[data-columns]::before {
    content: '2 .column.size-1of2';
  }
  .display-4 {
    font-size: 2rem;
  }

  .header-img-top {
    min-height: 150px;
    object-fit: cover;
  }
}
@media screen and (min-width: 992px) and (max-width: 1400px) {
  .grid[data-columns]::before {
    content: '3 .column.size-1of3';
  }
}

@media screen and (min-width: 1400px) {
  .grid[data-columns]::before {
    content: '4 .column.size-1of4';
  }
}

.grid {
  display: block;
  width: 100%;
}

.column {
  float: left;
}

.size-1of1 {
  width: 100%;
}

.size-1of2 {
  width: 50%;
  padding-right: 15px;
  padding-left: 15px;
}

.size-1of3 {
  width: 33.333%;
  padding-right: 15px;
  padding-left: 15px;
}

.size-1of4 {
  width: 25%;
  padding-right: 15px;
  padding-left: 15px;
}

/*Internet explorer fix*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .card {
    display: block;
  }
}

/* ===== SMART LOGO RESIZE - NO LAYOUT SHIFT ===== */

/* فقط لوگوی فعال رو نشون بده (یکی از دو لوگو) */
.navbar-brand img:not([style*="display: none"]) {
    width: auto !important;
    height: 105px !important;
    max-height: 105px !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    position: relative !important;
    display: inline-block !important;
    vertical-align: middle !important;
    max-width: 600px !important;
}

/* Container اصلی لوگو */
.navbar-brand {
    height: 105px !important;
    min-height: 105px !important;
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    float: none !important;
    margin-right: 15px !important;
}

/* فقط یک لوگو نمایش داده شود */
[data-theme="dark"] .navbar-brand img[src*="logo.png"]:not([src*="logo-dark.png"]),
[data-theme="light"] .navbar-brand img[src*="logo-dark.png"] {
    display: none !important;
}

/* موبایل - لوگو کوچکتر */
@media (max-width: 768px) {
    .navbar-brand img:not([style*="display: none"]) {
        height: 70px !important;
        max-height: 70px !important;
        max-width: 400px !important;
    }
    
    .navbar-brand {
        height: 70px !important;
        min-height: 70px !important;
    }
}

/* LOGO SIZE FIX */
#main-logo {
    height: 105px !important;
    width: auto !important;
    max-width: 600px !important;
    image-rendering: auto !important;
    display: block !important;
}

.navbar-brand {
    height: 105px !important;
    display: flex;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* موبایل */
@media (max-width: 768px) {
    #main-logo {
        height: 70px !important;
        max-width: 400px !important;
    }
    .navbar-brand {
        height: 70px !important;
    }
}

/* LOGO ULTRA QUALITY */
#main-logo {
    height: 105px !important;
    width: auto !important;
    max-width: 600px !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    -ms-interpolation-mode: nearest-neighbor !important;
    filter: none !important;
}

/* NAVBAR VERTICAL ALIGNMENT FIX */
.navbar {
    align-items: center !important;
    min-height: 105px !important;
}

.navbar-brand {
    display: flex !important;
    align-items: center !important;
    height: 105px !important;
}

#main-logo {
    vertical-align: middle !important;
    display: inline-block !important;
}

/* المان‌های سمت راست navbar */
.navbar-nav {
    display: flex !important;
    align-items: center !important;
    height: 105px !important;
}

.navbar-nav .nav-item {
    display: flex !important;
    align-items: center !important;
}

/* دکمه‌های theme */
.theme-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    width: 40px !important;
}

/* موبایل navbar */
@media (max-width: 768px) {
    .navbar {
        min-height: 70px !important;
    }
    
    .navbar-brand {
        height: 70px !important;
    }
    
    .navbar-nav {
        height: auto !important;
    }
}

/* فاصله از بالا برای لوگو */
#main-logo {
    margin-top: 10px !important;
}

/* ===== POST MENU MODERN ===== */

/* رپر کنار آمار پست (کنار لایک/ویو) */
.post-menu-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* دکمه سه‌نقطه */
.post-menu-trigger-single {
  position: relative;
  top: -3px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  padding: 0;
}

/* سه نقطه – رنگ بر اساس تم (روز = سیاه، شب = سفید) */
.post-menu-trigger-single .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin: 0 1.5px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* تم شب (dark) */
:root,
:root.dark {
  /* در تم شب، نقطه‌ها سفید */
}

:root.dark .post-menu-trigger-single .dot {
  background-color: #f8f9fa;
}

/* تم روز (light) */
:root.light .post-menu-trigger-single .dot {
  background-color: #000000;
}

/* افکت hover روی سه‌نقطه */
.post-menu-trigger-single:hover .dot {
  transform: scale(1.15);
  opacity: 0.9;
}

/* Overlay برای کلیک بیرون از منو؛ خودش هیچ رنگی ندارد */
.post-menu-overlay {
  position: fixed;
  inset: 0;
    backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.15);
  z-index: 9998;
  display: none;
}

/* نمایش overlay */
.post-menu-overlay.show {
  display: block;
}

/* خود منوی کپی لینک – بدون باکس پس‌زمینه اضافه دور سه نقطه */
.post-menu {
  position: absolute;
  bottom: 32px;      /* بالای سه‌نقطه، کنار آمار */
  right: 0;
  background: #ffffff;
  color: #222;
  border-radius: 18px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  min-width: 100px;
  padding: 6px 14px;
  font-size: 13px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transform-origin: bottom right;
  z-index: 9999;
}

/* تم شب – رنگ منو تیره هماهنگ با کارت، متن روشن */
:root,
:root.dark {
}

:root .post-menu,
:root.dark .post-menu {
  background: #252836;
  color: #f8f9fa;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

/* تم روز – رنگ منو سفید، متن تیره */
:root.light .post-menu {
  background: #ffffff;
  color: #222222;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* حالت نمایش */
.post-menu.show {
  display: flex;
  animation: menuPopScale .23s ease-out forwards;
}

/* فلش زیر منو (بالای سه نقطه) */
.post-menu::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  bottom: -6px;
  right: 14px;
  transform: rotate(45deg);
}

/* رنگ فلش مطابق پس‌زمینه منو در تم شب */
:root .post-menu::after,
:root.dark .post-menu::after {
  background: #252836;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

/* رنگ فلش در تم روز */
:root.light .post-menu::after {
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* افکت hover روی منو */
.post-menu:hover {
  opacity: 0.96;
}

/* انیمیشن نمایش منو */
@keyframes menuPopScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/* ===== MODERN COMMENT BOX ===== */

.comment-box{
  position:relative;
  margin-top:12px;
}

/* textarea */

#com-area{
  width:100%;
  border-radius:26px;
  border:1px solid #d1d5db;
  padding:8px 48px 8px 16px;
  min-height:42px;
  max-height:160px;
  resize:none;
  overflow:hidden;
  font-size:14px;
  line-height:1.5;
  background:#f3f4f6;
  color:#111827;
  transition:.25s;
}

#com-area::placeholder{
  color:#6b7280;
}

#com-area:focus{
  outline:none;
  border-color:#6366f1;
  box-shadow:0 0 0 2px rgba(99,102,241,.35);
  background:#fff;
}

/* dark mode textarea */

:root.dark #com-area{
  background:#3a3f4b;
  border-color:#4b5563;
  color:#fff;
}

:root.dark #com-area::placeholder{
  color:#cbd5e1;
}

:root.dark #com-area:focus{
  background:#2b3040;
}

/* send button */

#postcomment{
    line-height: 0;
    padding-top: 4.5px;


  position:absolute;
  right:8px;
  bottom:18px !important;
  width:26px;
  height:26px;
  border-radius:50%;
  border:none;
  background:#6366f1;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transition:background-color .2s,opacity .2s,transform .2s;
}

.comment-box.typing #postcomment{
  opacity:1;
  pointer-events:auto;
}

#postcomment:hover{
  transform:scale(1.08);
}

/* hide textarea resize */

textarea::-webkit-resizer{
  display:none;
}

/* sending state */

#postcomment.sending{
  pointer-events:none;
 color: transparent !important;
}

#postcomment.sending svg{

  opacity:0 !important;
  visibility:hidden !important; 
}

/* spinner */

#postcomment.sending::after{
  content:"";
  width:10px;
  height:10px;
  border:2px solid rgba(255,255,255,.4);
  border-top-color:#fff;
  border-radius:50%;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  animation:commentSpin .75s linear infinite;
}

@keyframes commentSpin{
  to{
    transform:translate(-50%,-50%) rotate(360deg);
  }
}

/* light mode button */

:root.light #postcomment{
  background:#000;
}

:root.light #postcomment:hover{
  background:#111;
}

:root.light #postcomment.sending svg {
  opacity: 0 !important;
}
/* لایه بلور کل صفحه */
.comment-focus-overlay{
  position:fixed;
  inset:0;
  backdrop-filter:blur(6px);
  background:rgba(0,0,0,0.15);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s;
  z-index:1040;
}

/* وقتی فعال شد */
.comment-focus-overlay.active{
  opacity:1;
  pointer-events:auto;
}

/* کامنت بالاتر از بلور */
.comment-box{
  position:relative;
  z-index:1050;
}
/* =======================================================
   FLOATING BOTTOM NAV — FINAL CLEAN VERSION
   ======================================================= */

.bottom-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 22px;
    
    height: 56px;
    padding: 0 14px;

    display: flex;
    align-items: center;
    gap: 18px;

    border-radius: 22px;

    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);

    z-index: 999999;
}

/* LIGHT MODE */
:root.light .bottom-nav {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

/* DARK MODE */
:root.dark .bottom-nav {
    background: rgba(28, 28, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

/* ===============================
   ITEM BUTTONS
   =============================== */

.bottom-item {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    text-decoration: none;

    transition: 0.2s;
}

/* Hover animation */
.bottom-item:hover {
    transform: translateY(-2px);
}

/* ICON FIX */
.bottom-nav .nav-icon {
    font-size: 20px;
    transition: 0.2s;
}

/* لایت مود → آیکون مشکی */
:root.light .bottom-nav .nav-icon {
    color: #111;
}

/* دارک مود → آیکون سفید */
:root.dark .bottom-nav .nav-icon {
    color: #fff;
}

/* ===============================
   USER AVATAR
   =============================== */

.bottom-avatar {
    width: 25px;
    height: 25px;

    border-radius: 50%;
    object-fit: cover;

    border: 2px solid rgba(255, 255, 255, 0.35);
}

/* Avatar border in light mode */
:root.light .bottom-avatar {
    border-color: rgba(0, 0, 0, 0.15);
}

/* Avatar border in dark mode */
:root.dark .bottom-avatar {
    border-color: rgba(255, 255, 255, 0.35);
}

/* ===============================
   MOBILE
   =============================== */

@media (max-width: 600px) {

    .bottom-nav {
        height: 48px;
        padding: 0 10px;
        gap: 12px;
        bottom: 16px;
    }

    .bottom-item {
        width: 34px;
        height: 34px;
    }

    .bottom-nav .nav-icon {
        font-size: 16px;
    }

    .bottom-avatar {
        width: 24px;
        height: 24px;
    }

}

/* ===== Lalezar Font UI Normalize ===== */

body{
  font-family:'Lalezar',cursive;
  line-height:1.7;
  font-variant-numeric:tabular-nums;
  text-rendering:optimizeLegibility;
}

/* fix baseline for icons */
i,
svg,
.fa,
[class^="fa-"],
[class*=" fa-"]{
  vertical-align:-0.18em;
  line-height:1;
}

/* fix image icons like heart */
.heart,
.icon,
img.icon{
  display:inline-block;
  vertical-align:-0.18em;
}

/* fix numbers alignment */
.stats,
.views,
.count{
  line-height:1.6;
}

/* inputs & comment box */
input,
textarea,
button{
  font-family:'Lalezar',cursive;
  line-height:normal;
}

/* comment textarea */
#com-area{
  line-height:1.6;
}

/* dropdown icons (edit / delete) */
.dropdown-menu i,
.card-header i,
.card-header svg{
  vertical-align:-0.15em;
}
.card-date{
  bottom:1.20rem !important;
}
.likenumber{
  margin-left:1px;
  line-height:1;
}

.d-flex.align-items-center .heart{
  position:relative;
  top:-2px;
}


.d-flex.align-items-center i{
  position: relative;
  top: -2px;
}

.d-flex.align-items-center .heartguest {
  position: relative;
  top: -2px; /* تنظیم تراز مشابه حالت لاگین شده */
  width: 50px;  /* عرض مشابه دکمه قلب */
  height: 50px; /* ارتفاع مشابه دکمه قلب */
  display: inline-block;
  background: url(../images/heart.png);
  background-position: left;
  background-repeat: no-repeat;
  background-size: 1450px;
  cursor: pointer;
}

.d-flex.align-items-center .heartguest:hover {
  background-position: right;
}





        


/* والدهای منو باید موقعیت داشته باشند */
.post-menu-wrapper,
.post-menu {
    position: relative !important;
}

/* پیام فاقد پس‌زمینه و فقط متن با رنگ متناسب تم */
.copy-message {
    position: absolute !important;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);

    font-size: clamp(28px, 2vw, 28px); /* فقط در صفحه کوچک کمی کوچک می‌شود */
    max-width: 90%;
    text-align: center;

    letter-spacing: 1.5px;
    font-weight: 700;
    color: inherit;
    background: transparent !important;
    padding: 0;

    white-space: nowrap;
    overflow: hidden;

    opacity: 0;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.25s ease;
    z-index: 9999;
    box-shadow: none !important;
}

/* نمایش پیام */
.copy-message.show {
    opacity: 1 !important;
}

/* در تم روشن: رنگ متن سیاه */
:root.light .post-menu {
    color: #222222; /* رنگ دکمه‌ها و متن منو */
}
:root.light .copy-message {
    color: #222222;
}

/* در تم تاریک: رنگ متن سفید */
:root.dark .post-menu {
    color: #f8f9fa; /* رنگ دکمه‌ها و متن منو */
}
:root.dark .copy-message {
    color: #f8f9fa;
}


@media (max-width: 600px) {
    .copy-message {
        top: 2px; 
    }
}




#comcount{
  position: relative;
  top: -0.8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.time{
  white-space: nowrap;
  float: right;
  position: relative;
  top: 2.5px;
}
.usrname{
  position: relative;
  top: 0.5px;
}
a[onclick="ReplyComment(this)"] {
  display: inline-block;
  transform: translateY(-0.4px);
}




/* MOBILE DRAWER MENU */
.mm-drawer{
    position:fixed;
    top:0;
    right:-280px;
    width:260px;
    height:100vh;
    background:var(--card-bg);
    box-shadow:-3px 0 15px rgba(0,0,0,.3);
    transition:right .35s ease;
    z-index:99999;
    padding:20px;
}

.mm-drawer.active{
    right:0;
}

.mm-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.30s;
    z-index:99998;
}

.mm-overlay.active{
    opacity:1;
    visibility:visible;
}

.mm-menu{
    list-style:none;
    padding:0;
    margin-top:15px;
}

.mm-menu li{
    margin-bottom:15px;
}

.mm-menu a{
    font-size:18px;
    color:var(--text-color);
    text-decoration:none;
}

.mm-close{
    background:none;
    border:0;
    font-size:28px;
    color:var(--text-color);
}
/* ===== HAMBURGER BUTTON FIX ===== */
.mm-toggle{
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    font-size: 26px;
    color: var(--text-color);

    background: transparent;
    border: 0;

    cursor: pointer;
    z-index: 1000;
}

/* فقط موبایل */
@media (min-width: 769px){
    .mm-toggle{
        display: none !important;
    }
}

.mm-menu .mm-logout a {
  color: #dc3545 !important; /* رنگ قرمز Bootstrap */
  font-weight: 600;
}

.mm-menu .mm-logout a:hover {
  color: #bb2d3b !important; /* قرمز تیره‌تر هنگام هاور */
}
@media (max-width: 768px) {
  #main-logo {
    position: relative;
    top: -7px;
  }
}





@media (max-width: 450px) {

  /* کاور پایین بیاید */
  .header-img-top {
    transform: translateY(25px);
  }

  /* عکس پروفایل دقیقاً هم اندازه کاور پایین بیاید */
  .profile-card-photo {
    transform: translateY(25px);
  }

}


/* ===========================
   Mobile Menu Drawer (Fix - Theme Safe)
   =========================== */

/* حالت مخفی */
.mm-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--bs-body-bg);
    color: var(--bs-body-color); /* ← اضافه شد: رنگ متن هماهنگ با تم */
    fill: var(--bs-body-color);  /* ← برای SVG و آیکون‌ها */
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

/* حالت باز */
.mm-drawer.open {
    right: 0;
}

/* overlay */
.mm-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mm-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* اطمینان از هماهنگی کل منوی موبایل با theme */
.mm-drawer a, 
.mm-drawer span, 
.mm-drawer i, 
.mm-drawer svg, 
.mm-drawer .menu-item {
    color: var(--bs-body-color);
    fill: var(--bs-body-color);
}





/* ==========================================================
   🔧 FIX for Post Page: Mobile Drawer & Theme Button Overlap
   ========================================================== */

/* بی‌اثر کردن تمام نسخه‌های قبلی drawer که روی دکمه تم سایه می‌انداختند */
.mm-drawer {
  position: fixed !important;
  top: 0 !important;
  right: -280px !important;
  width: 260px !important;
  height: 100vh !important;
  background: var(--card-bg) !important;
  color: var(--text-color) !important;
  box-shadow: -3px 0 15px rgba(0,0,0,.3) !important;
  transition: right .35s ease !important;
  z-index: 99999 !important;
  padding: 20px !important;
  overflow-y: auto !important;
}

/* Drawer باز شو */
.mm-drawer.active,
.mm-drawer.open {
  right: 0 !important;
}

/* Overlay دقیقاً زیر Drawer باشد، نه روی header */
.mm-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0,0,0,.45) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: .30s !important;
  z-index: 99998 !important;
}

/* فعال شدن Overlay */
.mm-overlay.active,
.mm-overlay.show {
  opacity: 1 !important;
  visibility: visible !important;
}

/* هماهنگی رنگ متن‌ها و آیکون‌ها با تم */
.mm-drawer a,
.mm-drawer i,
.mm-drawer svg,
.mm-drawer span {
  color: var(--text-color) !important;
  fill: var(--text-color) !important;
}

/* اطمینان از اینکه دکمه تم در موبایل زیر لایه overlay نباشد */
#mm-theme-toggle {
  position: relative !important;
  z-index: 100000 !important;
}
/* ==========================================================
   🔧 FIX for Theme Toggle Button inside Mobile Drawer on Post Page
   ========================================================== */

/* اطمینان از اینکه drawer و overlay در سطح پایین‌تر از دکمه تم هستند */
.mm-drawer,
.mm-overlay {
  pointer-events: auto !important;
}

/* اگر overlay جلوی کلیک را گرفته بود، کلیک را از روی دکمه و فرزندانش عبور بده */
.mm-overlay.active {
  pointer-events: none !important;
}

/* دکمه تم را همیشه بالاتر از overlay قرار بده */
#mm-theme-toggle {
  position: relative !important;
  z-index: 100000 !important;
  pointer-events: auto !important;
}

/* جلوگیری از هر لایه شفاف که باعث بلاک شدن کلیک بشود داخل drawer */
.mm-drawer.active,
.mm-drawer.open {
  z-index: 99999 !important;
}

/* تضمین اینکه overlay زیر drawer قرار گیرد */
.mm-overlay {
  z-index: 99998 !important;
}

.icon-clock{
    position: relative;
    top: -0.5px;
}



.btn-grad{
    display: inline-flex;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 4px;
}
.bg-cat-1{
    padding-top: 6px !important;
    padding-bottom: 4px !important;
    display: inline-flex;
    align-items: center;
}

:root.light .card-count {
    color: #000000 !important;
}
:root.dark .card-count {
    color: #fff !important;
}














@media (max-width: 768px) {
    .row {
        display: flex !important;
       
        gap: 8px !important;
    }
    
    .row .col-md-6 {
        flex: 0 0 calc(50% - 4px) !important;
        max-width: calc(50% - 4px) !important;
        width: calc(50% - 4px) !important;
    }
    
    .row .col-md-6 .btn,
    .row .col-md-6 form .btn {
        width: 100% !important;
        float: none !important;
    }
}






















/* ==========================================
   لایت‌باکس حرفه‌ای - نسخه کامل
   ========================================== */

.mm-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    animation: mmLightboxFadeIn 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@keyframes mmLightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mmLightboxScaleIn {
    from { 
        opacity: 0;
        transform: scale(0.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

.mm-lightbox-container {
    width: 95%;
    height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: default;
    position: relative;
}

.mm-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    animation: mmLightboxScaleIn 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ===== دکمه بستن ===== */
.mm-lightbox-close {
    position: fixed;
    top: 24px;
    right: 28px;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    color: #fff;
    font-size: 26px;
    font-weight: 300;
    cursor: pointer;
    z-index: 9999999;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    font-family: Arial, sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mm-lightbox-close:hover {
    background: rgba(255, 70, 70, 0.3);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 70, 70, 0.3);
}

.mm-lightbox-close:active {
    transform: rotate(90deg) scale(0.9);
}

/* ===== کنترل‌های پایین ===== */
.mm-lightbox-controls {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 9999999;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== دکمه بزرگ‌نمایی (➕) ===== */
.mm-lightbox-controls .mm-lightbox-zoom-in {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #FF8C00;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    font-family: Arial, sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mm-lightbox-controls .mm-lightbox-zoom-in:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.12);
}

.mm-lightbox-controls .mm-lightbox-zoom-in:active {
    transform: scale(0.92);
}

/* ===== دکمه کوچک‌نمایی (➖) ===== */
.mm-lightbox-controls .mm-lightbox-zoom-out {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #FF8C00;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    font-family: Arial, sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mm-lightbox-controls .mm-lightbox-zoom-out:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.12);
}

.mm-lightbox-controls .mm-lightbox-zoom-out:active {
    transform: scale(0.92);
}

/* ===== دکمه بازنشانی (⟲) ===== */
.mm-lightbox-controls .mm-lightbox-reset {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    font-family: Arial, sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mm-lightbox-controls .mm-lightbox-reset:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.12) rotate(30deg);
}

.mm-lightbox-controls .mm-lightbox-reset:active {
    transform: scale(0.92) rotate(30deg);
}

/* ===== واکنش‌گرایی موبایل ===== */
@media (max-width: 576px) {
    .mm-lightbox-close {
        top: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .mm-lightbox-controls {
        bottom: 20px;
        padding: 8px 14px;
        gap: 10px;
    }

    .mm-lightbox-controls .mm-lightbox-zoom-in,
    .mm-lightbox-controls .mm-lightbox-zoom-out,
    .mm-lightbox-controls .mm-lightbox-reset {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .mm-lightbox-controls .mm-lightbox-zoom-in {
        font-size: 18px;
    }

    .mm-lightbox-controls .mm-lightbox-zoom-out {
        font-size: 18px;
    }

    .mm-lightbox-controls .mm-lightbox-reset {
        font-size: 16px;
    }

    .mm-lightbox-img {
        border-radius: 4px;
    }
}














/* ===== دکمه بازنشانی (⟲) ===== */
.mm-lightbox-controls .mm-lightbox-reset {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    font-family: Arial, sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mm-lightbox-controls .mm-lightbox-reset:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.mm-lightbox-controls .mm-lightbox-reset:active {
    transform: scale(0.92);
}














/* ===== واکنش‌گرایی موبایل ===== */
@media (max-width: 576px) {
    .mm-lightbox-close {
        top: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .mm-lightbox-controls {
        bottom: 20px;
        padding: 6px 12px;
        gap: 8px;
    }

    .mm-lightbox-controls .mm-lightbox-zoom-in,
    .mm-lightbox-controls .mm-lightbox-zoom-out,
    .mm-lightbox-controls .mm-lightbox-reset {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .mm-lightbox-controls .mm-lightbox-zoom-in {
        font-size: 16px;
    }

    .mm-lightbox-controls .mm-lightbox-zoom-out {
        font-size: 16px;
    }

    .mm-lightbox-controls .mm-lightbox-reset {
        font-size: 15px;
    }

    .mm-lightbox-img {
        border-radius: 4px;
    }
}

















/* ===== AI IMAGE BUTTON ===== */
.ai-image-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    user-select: none;
}

.ai-image-btn:hover {
    transform: scale(1.12);
    background: rgba(0, 0, 0, 0.75);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 4px 25px rgba(255, 215, 0, 0.2);
}

.ai-image-btn:active {
    transform: scale(0.95);
}

/* ===== AI MODAL ===== */
.ai-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: aiFadeIn 0.3s ease;
}

.ai-modal-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-radius: 28px;
    width: 92%;
    max-width: 580px;
    max-height: 80vh;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-modal-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0 8px;
}

.ai-modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.ai-chat-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    max-height: 380px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-message {
    padding: 12px 18px;
    border-radius: 16px;
    max-width: 88%;
    word-wrap: break-word;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #fff;
}

.ai-bot-message {
    background: rgba(255, 255, 255, 0.08);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-user-message {
    background: linear-gradient(135deg, #2d2d44, #1a1a2e);
    align-self: flex-end;
    border-bottom-right-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.12);
}

.ai-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.ai-input {
    flex: 1;
    padding: 12px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
    font-size: 0.95rem;
    min-width: 140px;
    transition: border 0.3s ease;
}

.ai-input:focus {
    border-color: rgba(255, 215, 0, 0.4);
}

.ai-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.ai-send-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f5af19, #f12711);
    color: #fff;
    font-size: 0.9rem;
}

.ai-send-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(241, 39, 17, 0.3);
}

.ai-copy-btn {
    padding: 10px 14px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-copy-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

@keyframes aiFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ai-chat-body::-webkit-scrollbar {
    width: 4px;
}

.ai-chat-body::-webkit-scrollbar-track {
    background: transparent;
}

.ai-chat-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
    .ai-image-btn {
        width: 36px;
        height: 36px;
        top: 10px;
        right: 10px;
        font-size: 11px;
    }
    
    .ai-modal-container {
        width: 95%;
        max-height: 90vh;
    }
    
    .ai-modal-title {
        font-size: 0.95rem;
    }
    
    .ai-input {
        font-size: 0.85rem;
        padding: 10px 14px;
    }
    
    .ai-send-btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .ai-copy-btn {
        padding: 8px 12px;
    }
    
    .ai-copy-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 400px) {
    .ai-image-btn {
        width: 30px;
        height: 30px;
        top: 8px;
        right: 8px;
        font-size: 10px;
    }
}




/* ===== AI IMAGE BUTTON ===== */
.ai-image-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    user-select: none;
}

.ai-image-btn:hover {
    transform: scale(1.12);
    background: rgba(0, 0, 0, 0.75);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 4px 25px rgba(255, 215, 0, 0.2);
}

.ai-image-btn:active {
    transform: scale(0.95);
}


.ai-remaining-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: #F5AF19;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 20px;
    margin-left: 10px;
}

.ai-remaining-badge.low {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.1);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}






/* ===== AI Remaining Badge ===== */
.ai-remaining-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: #F5AF19;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 20px;
    margin-left: 10px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
}

.ai-remaining-badge.low {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.1);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.95); }
}























/* ============================================================
   DONATE MODAL - COMPLETE
   ============================================================ */

/* ===== Overlay ===== */
.donate-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    animation: donateFadeIn 0.3s ease;
}

/* ===== Container ===== */
.donate-modal-container {
    background: rgba(30, 28, 45, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    width: 420px;
    max-width: 92%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===== Header ===== */
.donate-modal-header {
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.donate-modal-title {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.donate-modal-title svg {
    width: 18px;
    height: 18px;
    stroke: #8247e5;
}

.donate-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donate-modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.donate-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* ===== Body ===== */
.donate-modal-body {
    padding: 28px 22px 20px;
    text-align: center;
}

/* ===== Status ===== */
.donate-status {
    margin-bottom: 24px;
}

.donate-status-icon svg {
    stroke: #8247e5;
    margin-bottom: 8px;
    transition: stroke 0.3s ease;
}

.donate-status p {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 4px 0;
    transition: color 0.3s ease;
}

.donate-status small {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    transition: color 0.3s ease;
}

/* ===== Amount Grid ===== */
.donate-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.donate-amount-btn {
    padding: 10px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.donate-amount-btn:hover {
    background: rgba(130, 71, 229, 0.08);
    border-color: rgba(130, 71, 229, 0.15);
    color: #fff;
}

.donate-amount-btn.active {
    background: rgba(130, 71, 229, 0.15);
    border-color: #8247e5;
    color: #8247e5;
}

/* ===== Custom Input ===== */
.donate-custom-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.donate-custom-input input {
    padding: 10px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    outline: none;
    font-size: 15px;
    width: 160px;
    text-align: center;
    font-weight: 500;
    font-family: inherit;
    transition: border 0.3s ease;
}

.donate-custom-input input:focus {
    border-color: rgba(130, 71, 229, 0.4);
}

.donate-custom-input input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.donate-custom-input span {
    color: #8247e5;
    font-size: 16px;
    font-weight: 600;
}

/* ===== Footer ===== */
.donate-modal-footer {
    padding: 12px 22px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: center;
    gap: 12px;
}

.donate-btn-cancel {
    padding: 10px 28px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.donate-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.donate-btn-confirm {
    padding: 10px 32px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #8247e5, #6a1b9a);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    box-shadow: 0 2px 16px rgba(130, 71, 229, 0.25);
}

.donate-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(130, 71, 229, 0.35);
}

.donate-btn-confirm:active {
    transform: scale(0.97);
}

.donate-btn-confirm svg {
    stroke: #fff;
}

/* ===== Animation ===== */
@keyframes donateFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ===== Light Mode ===== */
:root.light .donate-modal-container {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.04);
}

:root.light .donate-modal-title {
    color: #1a1a2e;
}

:root.light .donate-status p {
    color: #1a1a2e;
}

:root.light .donate-status small {
    color: rgba(0, 0, 0, 0.4);
}

:root.light .donate-amount-btn {
    border-color: rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.02);
    color: rgba(0, 0, 0, 0.5);
}

:root.light .donate-amount-btn:hover {
    background: rgba(130, 71, 229, 0.04);
    color: #1a1a2e;
}

:root.light .donate-amount-btn.active {
    background: rgba(130, 71, 229, 0.08);
    border-color: #8247e5;
    color: #8247e5;
}

:root.light .donate-custom-input input {
    border-color: rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.02);
    color: #1a1a2e;
}

:root.light .donate-custom-input input::placeholder {
    color: rgba(0, 0, 0, 0.2);
}

:root.light .donate-btn-cancel {
    border-color: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.4);
}

:root.light .donate-btn-cancel:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
}

:root.light .donate-modal-close {
    color: rgba(0, 0, 0, 0.3);
}

:root.light .donate-modal-close:hover {
    color: #1a1a2e;
}

:root.light .donate-btn-confirm {
    background: linear-gradient(135deg, #8247e5, #6a1b9a);
    color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .donate-modal-container {
        width: 95%;
        max-width: 95%;
    }
    
    .donate-modal-body {
        padding: 20px 16px 16px;
    }
    
    .donate-amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donate-custom-input input {
        width: 120px;
    }
    
    .donate-modal-footer {
        flex-direction: column;
        gap: 8px;
    }
    
    .donate-btn-cancel,
    .donate-btn-confirm {
        width: 100%;
        justify-content: center;
    }
}













/* ============================================================
   DONATE SECTION - COMPLETE
   ============================================================ */

/* ===== Main Container ===== */
.donate-section {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(130, 71, 229, 0.08);
}

/* ===== Row - همه المان‌ها در یک خط ===== */
.donate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
}

/* ===== سمت چپ ===== */
.donate-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}

/* ===== آیکون کیف پول ===== */
.donate-icon-wallet {
    flex-shrink: 0;
    color: #8247e5;
}

/* ===== متن Support ===== */
.donate-support-text {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-color);
    white-space: nowrap;
}

/* ===== جداکننده ===== */
.donate-separator {
    color: rgba(130, 71, 229, 0.15);
    font-weight: 300;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

/* ===== آدرس ولت ===== */
.donate-wallet-address {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 10px;
    background: rgba(130, 71, 229, 0.05);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(130, 71, 229, 0.06);
    color: var(--text-color);
    letter-spacing: 0.2px;
    white-space: nowrap;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

/* ===== دکمه کپی ===== */
.donate-copy-btn {
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    color: #8247e5;
    font-size: 12px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.donate-copy-btn:hover {
    transform: scale(1.15);
}

/* ===== دکمه Donate ===== */
.donate-btn {
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #8247e5, #6a1b9a);
    border: none;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 10px rgba(130, 71, 229, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    font-family: inherit;
}

.donate-btn:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 4px 16px rgba(130, 71, 229, 0.3);
}

.donate-btn:active {
    transform: scale(0.96);
}

.donate-btn svg {
    stroke: #fff;
    flex-shrink: 0;
}

/* ============================================================
   DARK MODE - آیکون‌ها سفید
   ============================================================ */
:root.dark .donate-icon-wallet {
    color: #ffffff;
}

:root.dark .donate-copy-btn {
    color: #ffffff;
}

:root.dark .donate-copy-btn:hover {
    color: #b0b0b0;
}

:root.dark .donate-separator {
    color: rgba(255, 255, 255, 0.15);
}

:root.dark .donate-wallet-address {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

/* ============================================================
   LIGHT MODE
   ============================================================ */
:root.light .donate-icon-wallet {
    color: #8247e5;
}

:root.light .donate-copy-btn {
    color: #8247e5;
}

:root.light .donate-copy-btn:hover {
    color: #6a1b9a;
}

:root.light .donate-wallet-address {
    background: rgba(130, 71, 229, 0.05);
    border-color: rgba(130, 71, 229, 0.06);
    color: #1a1a2e;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 480px) {
    .donate-row {
        gap: 4px;
    }
    
    .donate-left {
        gap: 4px;
    }
    
    .donate-support-text {
        font-size: 10px;
    }
    
    .donate-wallet-address {
        font-size: 8px !important;
        padding: 1px 5px !important;
        max-width: 60px !important;
    }
    
    .donate-icon-wallet {
        width: 12px !important;
        height: 12px !important;
    }
    
    .donate-btn {
        padding: 3px 10px !important;
        font-size: 9px !important;
    }
    
    .donate-btn svg {
        width: 10px !important;
        height: 10px !important;
    }
    
    .donate-copy-btn {
        font-size: 10px !important;
    }
    
    .donate-copy-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    .donate-separator {
        font-size: 12px !important;
    }
}

@media (max-width: 380px) {
    .donate-wallet-address {
        max-width: 45px !important;
        font-size: 7px !important;
        padding: 1px 3px !important;
    }
    
    .donate-support-text {
        font-size: 9px !important;
    }
}













/* ===== DARK MODE - Current Wallet Address ===== */
:root.dark .text-muted code {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== LIGHT MODE ===== */
:root.light .text-muted code {
    color: #1a1a2e !important;
    background: rgba(130, 71, 229, 0.05);
    border: 1px solid rgba(130, 71, 229, 0.08);
}

























/* ===== اینستاگرام EMBED ===== */
.instagram-embed-wrapper {
    position: relative;
    max-width: 540px;
    margin: 20px auto;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.instagram-embed-wrapper:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* ===== ریلز ===== */
.instagram-reel-wrapper {
    max-width: 400px;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    background: #000;
}

.instagram-reel-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 500px;
    border-radius: 20px;
    border: none !important;
}

/* ===== پست معمولی ===== */
.instagram-post-wrapper {
    max-width: 540px;
}

.instagram-post-wrapper iframe {
    width: 100% !important;
    border: none !important;
    background: transparent;
}

/* ===== IGTV ===== */
.instagram-tv-wrapper {
    max-width: 540px;
    aspect-ratio: 9 / 16;
}

.instagram-tv-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* ===== Badge اینستاگرام (موقعیت پایین) ===== */
.instagram-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 5;
    pointer-events: none;
    user-select: none;
}

.instagram-badge-reel {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border: none;
}

.instagram-badge-post {
    background: linear-gradient(135deg, #405de6, #5851db, #833ab4);
    border: none;
}

.instagram-badge-tv {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== روی Badge ها هاور نکنه (وقتی موس میره رو Badge، iframe رو لمس نکنه) ===== */
.instagram-badge {
    pointer-events: none !important;
}

/* ===== دارک مود ===== */
[data-theme="dark"] .instagram-embed-wrapper {
    background: #1a1a2e;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .instagram-embed-wrapper:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .instagram-badge {
    background: rgba(0, 0, 0, 0.8);
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .instagram-embed-wrapper {
        max-width: 100% !important;
        border-radius: 12px;
        margin: 15px 0;
    }
    
    .instagram-reel-wrapper {
        max-width: 320px;
        margin: 10px auto;
    }
    
    .instagram-reel-wrapper iframe {
        min-height: 420px;
    }
}

@media (max-width: 480px) {
    .instagram-reel-wrapper {
        max-width: 280px;
    }
    
    .instagram-reel-wrapper iframe {
        min-height: 380px;
    }
}

/* ===== جلوگیری از overflow در موبایل ===== */
.embedbox {
    overflow: hidden !important;
    max-width: 100% !important;
}

/* ===== پنهان کردن scrollbar اضافی ===== */
.instagram-embed-wrapper::-webkit-scrollbar {
    display: none;
}

.instagram-embed-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== انیمیشن نرم برای Badge ===== */
.instagram-badge {
    animation: badgeFadeIn 0.5s ease;
}

@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



















