@import url('edmin.css');

/* Poppins Regular */
@font-face {
  font-family: 'Poppins';
  src: url('../font/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Poppins Medium */
@font-face {
  font-family: 'Poppins';
  src: url('../font/Poppins-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Poppins SemiBold */
@font-face {
  font-family: 'Poppins';
  src: url('../font/Poppins-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Poppins Bold */
@font-face {
  font-family: 'Poppins';
  src: url('../font/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


@media screen and (max-width:768px) {
  .titleTag {
    border-radius: 0px !important;
  }

  .moodch {
    width: 28px
  }

  .navigation-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);

    /* TRUE black background */
    background-color: #000;
    opacity: 0.35;
    /* normal state opacity */

    /* Light icon for contrast */
    color: #fff;

    padding: 9px 8px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;

    height: 150px;
    border-radius: 0;
    border: none;

    transition: opacity 0.2s ease;
  }

  /* Hover / Active → increase opacity only */
  .navigation-btn:hover,
  .navigation-btn:active {
    opacity: 0.65;
  }


  .dd-button {
    line-height: 1.9;
    position: relative;
    top: 1px
  }

  #swipeMessageOverlay {
    display: flex
  }

  .titleTag {
    width: 100%;
    margin-top: 0 !important
  }

  .titleunderline {
    width: 100%;
    background: #fff;
    height: 2px
  }

  .header {
    padding: 0
  }

  .hide-page {
    display: none
  }

  .form-horizontal {
    height: 34px
  }

  .pull-left {
    padding: 1px
  }

  #ddlistPage {
    display: inline-block;
    width: auto;
    padding: 0
  }

  #dropdownMenuButton {
    padding: 1px 8px
  }

  #datetext_cal {
    padding: 2px 4px;
    font-size: 11px
  }

  .btn-default {
    padding: 5px
  }

  .shareit_outer {
    width: 97%;
    position: relative;
    left: 4px
  }

  .thumbnail {
    width: 96%;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-left: 9px;
    margin-top: 7px;
    border: none
  }

  .cal_outer input {
    padding: 2px 0 0 4px
  }

  .cal_outer {
    background: #1728c1 linear-gradient(180deg, #3a48ca, #1728c1) repeat-x;
    border-radius: 4px;
    padding: 0 0 3px 8px;
    width: 87px
  }

  .btn-crop {
    padding: 3px 5px 3px 3px;
    border-radius: 3px;
    font-size: 0.875rem !important;
  }

  #content {
    overflow: hidden
  }

  #newspaper-container {
    margin-top: 0
  }

  .arcpa {
    line-height: 1.8
  }

  .pull-right {
    padding: 2px;
    float: right
  }

  #navstick {
    height: 43px !important
  }

  .work-Area {
    margin-top: 2px
  }

  #newspaper-container {
    position: relative;
    width: 100%;
    touch-action: pan-y
  }

  #newspaperImage {
    width: 100%;
    height: auto
  }

  #swipeMessageOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    z-index: 9999;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center
  }

  #swipeMessageOverlay h2 {
    font-size: 24px;
    margin: 0
  }

  #swipeMessageOverlay p {
    font-size: 16px
  }

  #swipeMessageOverlay button {
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    cursor: pointer
  }

  .button-8 {
    font-size: 14px
  }

  .footer-bottom {
    height: 104px
  }

  .widget-title {
    font-size: 14px
  }
}

.navbar {
  z-index: 1000;
}

.btn-group-vertical>.btn-group:after,
.btn-group-vertical>.btn-group:before,
.btn-toolbar:after,
.btn-toolbar:before,
.clearfix:after,
.clearfix:before,
.container-fluid:after,
.container-fluid:before,
.form-horizontal .form-group:after,
.form-horizontal .form-group:before,
.modal-footer:after,
.modal-footer:before,
.nav:after,
.nav:before,
.navbar-collapse:after,
.navbar-collapse:before,
.navbar-header:after,
.navbar-header:before,
.navbar:after,
.navbar:before,
.pager:after,
.pager:before,
.panel-body:after,
.panel-body:before,
.row:after,
.row:before {
  display: table
}

.cropper-container {
  z-index: 1.0E+16 !important;
  z-index: 1.0E+16 !important
}

#share-crop {
  position: absolute;
  z-index: 1001;
  background: #007bff;
  color: #fff;
  border: none;
  padding: 5px 12px;
  width: 70px;
  height: 30px;
  cursor: pointer;
  display: none;
  box-shadow: rgba(50, 50, 93, .25) 0 2px 5px -1px, rgba(0, 0, 0, .3) 0 1px 3px -1px;
  text-align: center;
  line-height: 20px;
  margin-top: 7px;
  border-radius: 0
}

#cancel-crop {
  position: absolute;
  z-index: 1001;
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 5px 12px;
  width: 70px;
  height: 30px;
  cursor: pointer;
  display: none;
  box-shadow: rgba(50, 50, 93, .25) 0 2px 5px -1px, rgba(0, 0, 0, .3) 0 1px 3px -1px;
  text-align: center;
  line-height: 18px;
  margin-top: 7px;
  border-radius: 0
}

.side-thumb {
  margin-top: 10px;
  border-radius: 5px;
  overflow: hidden;

}

/* jQuery UI Datepicker Modern styling - Premium Edition */
.ui-datepicker {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
  font-family: 'Poppins', sans-serif !important;
  padding: 20px !important;
  width: 320px !important;
  box-sizing: border-box !important;
}

#ui-datepicker-div {
  z-index: 9999 !important;
}

div.ui-datepicker {
  display: block !important;
  margin: 0 auto;
}

/* Ensure outer widget styles don't bleed in */
.ui-widget.ui-widget-content {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  border: none !important;
  background: transparent !important;
}

.ui-widget-header {
  border: none !important;
  background: transparent !important;
}

.ui-datepicker-header {
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  padding: 0 0 15px 0 !important;
  margin: 0 0 10px 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.ui-datepicker-title {
  color: #1f2937 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Modern arrows */
.ui-datepicker-prev,
.ui-datepicker-next {
  position: absolute !important;
  top: 0 !important;
  width: 30px !important;
  height: 30px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: transparent !important;
  border-radius: 8px !important;
  border: none !important;
  transition: all 0.2s ease !important;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
  background-color: #f3f4f6 !important;
}

.ui-datepicker-prev {
  left: 0 !important;
}

.ui-datepicker-next {
  right: 0 !important;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
  display: none !important;
}

.ui-datepicker-prev::after {
  content: "\2039" !important;
  /* Single left-pointing angle quotation mark */
  font-size: 24px !important;
  color: #4b5563 !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  position: relative;
  top: -2px;
}

.ui-datepicker-next::after {
  content: "\203A" !important;
  /* Single right-pointing angle quotation mark */
  font-size: 24px !important;
  color: #4b5563 !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  position: relative;
  top: -2px;
}

.ui-datepicker-calendar {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
}

.ui-datepicker-calendar th {
  color: #9ca3af !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  padding: 8px 0 12px 0 !important;
  text-align: center !important;
  border: none !important;
}

.ui-datepicker-calendar td {
  padding: 2px !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
}

.ui-datepicker-calendar td a,
.ui-datepicker-calendar td span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #374151 !important;
  text-decoration: none !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover state for links */
.ui-datepicker-calendar td a:hover {
  background-color: #fee2e2 !important;
  /* Light red */
  color: #dc2626 !important;
  transform: translateY(-1px) !important;
}

/* Active dates (highlighted) */
.ui-datepicker-calendar td.highlighted a,
.ui-datepicker-calendar td.ui-state-active a,
.ui-datepicker-calendar td .ui-state-active,
.ui-datepicker-calendar td a.ui-state-active {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3) !important;
  border-color: transparent !important;
  transform: scale(1.05) !important;
}

/* Disabled state */
.ui-datepicker-calendar td.ui-state-disabled span {
  opacity: 0.3 !important;
}

a {
  text-decoration: none
}

.footer-section {
  background-color: #002133;
  position: relative;
  overflow: hidden;
  z-index: 9;
  padding-top: 18px
}

.footer-section:before {
  content: '';
  position: absolute;
  top: -146%;
  left: -18%;
  width: 44%;
  height: 257%;
  transform: rotate(54deg);
  background-color: #1f2f40;
  -webkit-transform: rotate(54deg);
  -moz-transform: rotate(54deg);
  -ms-transform: rotate(54deg);
  -o-transform: rotate(54deg);
  z-index: -10
}

.footer-section:after {
  position: absolute;
  content: '';
  background-color: #1f2f40;
  top: -24%;
  right: 4%;
  width: 26%;
  height: 264%;
  transform: rotate(44deg);
  -webkit-transform: rotate(44deg);
  -moz-transform: rotate(44deg);
  -ms-transform: rotate(44deg);
  -o-transform: rotate(44deg);
  z-index: -10
}

.footer-top {
  padding-top: 10px;
  padding-bottom: 10px
}

.company-footer-contact-list,
.courses-link-list,
.small-post-list {
  padding-left: 0
}

.company-footer-contact-list li,
.footer-top p {
  color: #fff
}

.company-footer-contact-list {
  margin-top: 10px
}

.company-footer-contact-list li {
  display: flex;
  display: -webkit-flex;
  align-items: center
}

.company-footer-contact-list li+li {
  margin-top: 5px
}

.company-footer-contact-list li i {
  margin-right: 10px;
  font-size: 20px;
  display: inline-block
}

.footer-top .site-logo {
  margin-bottom: 25px;
  max-width: 170px
}

.widget-title {
  text-transform: capitalize
}

.footer-top .widget-title {
  color: #fff;
  margin-bottom: 20px
}

.courses-link-list li+li {
  margin-top: 10px
}

.courses-link-list li a {
  color: #fff;
  text-transform: capitalize;
  font-family: var(--para-font);
  font-weight: 400
}

.courses-link-list li a:hover {
  color: #ffb606
}

.courses-link-list li i {
  margin-right: 5px
}

.footer-top .small-post-title a {
  font-family: var(--para-font);
  color: #fff;
  font-weight: 400
}

.small-post-item .post-date {
  color: #ffb606;
  margin-bottom: 3px;
  font-family: var(--para-font);
  font-weight: 400
}

.small-post-list li+li {
  margin-top: 30px
}

.news-letter-form {
  margin-top: 15px
}

.news-letter-form input {
  width: 100%;
  padding: 12px 25px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border: none
}

.news-letter-form input[type=submit] {
  width: auto;
  border: none;
  background-color: #ffb606;
  padding: 9px 30px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  color: #fff;
  margin-top: 10px
}

.footer-bottom {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .149)
}

.copy-right-text {
  color: #fff
}

.copy-right-text a {
  color: #ffb606
}

.terms-privacy li+li {
  margin-left: 30px
}

.terms-privacy li a {
  color: #fff;
  position: relative
}

.terms-privacy li a:after {
  position: absolute;
  content: '-';
  color: #fff;
  display: inline-block;
  top: 0;
  right: -18px
}

.terms-privacy li+li a:after {
  display: none
}

.pageDyfma {
  font-family: system-ui;
  font-weight: 400
}

.dyph1 {
  font-weight: 600;
  font-family: system-ui
}

.modal-sub {
  margin-top: 9%;
  background: url(../../img/icon-bg-min.webp) no-repeat
}

.modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
  margin: 0 auto
}

.modal-custom {
  width: 96vw;
  max-width: 600px;
  height: 96vw;
  max-height: 600px
}

.modal-content {
  height: 100%;
  /* border: 2px solid #474747; */
  overflow: hidden
}

.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%
}

.rounded-social-buttons .social-button {
  float: right;
  width: 1.8rem;
  padding: 0px;
  text-align: center;
  color: #fefefe;
  font-size: 1.5rem;
  margin-right: 0.25rem;
}

.rounded-social-foobuttons .social-button {
  float: left;
  width: 2.8rem;
  padding: 0px;
  text-align: center;
  color: #fefefe;
  font-size: 1.5rem;
  margin-right: 0.25rem;
}

.rounded-social-buttons .social-button:hover,
.rounded-social-buttons .social-button:focus {
  -webkit-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  transform: rotate(360deg);
}

.rounded-social-buttons .fa-twitter,
.fa-facebook-f,
.fa-linkedin,
.fa-tiktok,
.fa-youtube,
.fa-instagram {
  font-size: 22px;
}

.rounded-social-buttons .social-button.facebook {
  background: #3b5998;
}

.rounded-social-buttons .social-button.facebook:hover,
.rounded-social-buttons .social-button.facebook:focus {
  color: #3b5998;
  background: #fefefe;
  border-color: #3b5998;
}

.rounded-social-buttons .social-button.twitter {
  background: #55acee;
}

.rounded-social-buttons .social-button.twitter:hover,
.rounded-social-buttons .social-button.twitter:focus {
  color: #55acee;
  background: #fefefe;
  border-color: #55acee;
}

.rounded-social-buttons .social-button.linkedin {
  background: #007bb5;
}

.rounded-social-buttons .social-button.linkedin:hover,
.rounded-social-buttons .social-button.linkedin:focus {
  color: #007bb5;
  background: #fefefe;
  border-color: #007bb5;
}

.rounded-social-buttons .social-button.tiktok {
  background: #000000;
}

.rounded-social-buttons .social-button.tiktok:hover,
.rounded-social-buttons .social-button.tiktok:focus {
  color: #000000;
  background: #fefefe;
  border-color: #000000;
}

.rounded-social-buttons .social-button.youtube {
  background: #bb0000;
}

.rounded-social-buttons .social-button.youtube:hover,
.rounded-social-buttons .social-button.youtube:focus {
  color: #bb0000;
  background: #fefefe;
  border-color: #bb0000;
}

.rounded-social-buttons .social-button.instagram {
  background: #bf1dd7;
}

.rounded-social-buttons .social-button.instagram:hover,
.rounded-social-buttons .social-button.instagram:focus {
  color: #125688;
  background: #fefefe;
  border-color: #125688;
}

/* Custom Litepicker overrides for Premium look */
.litepicker {
  font-family: inherit !important;
}

.litepicker .container__months {
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #e2e8f0 !important;
  padding: 8px !important;
}

.litepicker .month-item-header {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.litepicker .month-item-header>div {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important;
  gap: 6px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.litepicker .month-item-name,
.litepicker .month-item-year {
  display: inline-block !important;
  width: auto;
  max-width: max-content !important;
  flex: 0 0 auto !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  transition: color 0.15s ease-in-out !important;
}

.month-item-name {
  width: 78px !important;
}

.litepicker .month-item-name:hover,
.litepicker .month-item-year:hover,
.litepicker .month-item-name:focus,
.litepicker .month-item-year:focus {
  background: transparent !important;
  border: none !important;
  color: #dc2626 !important;
}

/* Weekdays Header Grid */
.litepicker .container__months .month-item-weekdays-row {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  width: 100% !important;
  text-align: center !important;
}

.litepicker .container__months .month-item-weekdays-row>div {
  width: 100% !important;
  padding: 6px 0 !important;
  text-align: center !important;
  font-weight: 600 !important;
  color: #64748b !important;
  font-size: 0.75rem !important;
}

/* Days Grid Setup - Strict 7-column grid */
.litepicker .container__days {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  width: 100% !important;
  align-items: center !important;
  justify-items: center !important;
  box-sizing: border-box !important;
  gap: 2px 0 !important;
}

.litepicker .container__days>div {
  width: 100% !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Day Item Styling - Perfect Circular Buttons */
.litepicker .container__days .day-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  font-size: 13px !important;
  transition: all 0.2s ease-in-out !important;
}

/* Solid background circular date buttons for active/available dates */
.litepicker .container__days .day-item:not(.is-locked) {
  color: #ffffff !important;
  font-weight: 700 !important;
  background-color: #dc2626 !important;
  /* Solid red background */
  border: none !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 5px rgba(220, 38, 38, 0.3) !important;
  cursor: pointer !important;
}

.litepicker .container__days .day-item:not(.is-locked):hover {
  background-color: #b91c1c !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
  box-shadow: 0 4px 8px rgba(185, 28, 28, 0.4) !important;
}

.litepicker .container__days .day-item.is-today:not(.is-locked) {
  background-color: #dc2626 !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #dc2626 !important;
}

/* Locked (unavailable) days */
.litepicker .container__days .day-item.is-locked {
  color: #94a3b8 !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  cursor: default !important;
}

.litepicker .container__days .day-item.is-locked:hover {
  background-color: transparent !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Fully rounded and padded UI elements (Dropdown and Pagination) */
.custom-pagination {
  display: flex;
  align-items: center;
  margin-left: 5px;
  gap: 4px;
}

.custom-pagination .page-item .page-link {
  border-radius: 9999px !important;
  /* Fully rounded/pill shape */
  padding: 6px 18px !important;
  /* Extra left and right padding */
  margin: 0 !important;
  border: 1px solid #dee2e6 !important;
  background-color: #f8fafc !important;
  color: #1e293b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.15s ease-in-out;
}

.custom-pagination .page-item .page-link:hover {
  background-color: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Make number buttons completely circular */
.custom-pagination .page-item.page-number .page-link {
  padding: 0 !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
}

/* Active page button styling */
.custom-pagination .page-item.active .page-link,
.custom-pagination .page-item.page-number.active .page-link,
.custom-pagination .active .page-link {
  background-color: #083B76 !important;
  background-image: none !important;
  color: #ffffff !important;
  border-color: #083B76 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(8, 59, 118, 0.35) !important;
}

/* Main viewer navigation arrows */
.navigation-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background-color: #000 !important;
  color: #fff !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  cursor: pointer;
  z-index: 1000;
  border-radius: 2px !important;
  border: none !important;
  opacity: 1 !important;
  transition: background-color 0.2s ease;
}

.navigation-btn:hover {
  background-color: #222 !important;
}

.nav-left {
  left: 10px !important;
}

.nav-right {
  right: 10px !important;
}

.dropdown .dd-button {
  border-radius: 9999px !important;
  /* Fully rounded/pill shape */
  padding: 0px 35px 0px 20px !important;
  /* Extra left and right padding */
}

.dropdown .dd-button:after {
  right: 15px !important;
  /* Keep arrow correctly positioned inside the pill */
}

.edition-toggle {
  width: 100%;
  padding: 10px;
  font-weight: 600;
  border: 1px solid #ccc;
  border-radius: 6px 6px 0 0;
  background: #f5f5f5;
  color: #333;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.edition-toggle.active {
  background: white;
  color: red;
  border-bottom: 2px solid transparent;
}

.eviewBox {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

/* Home Edition View custom styles */
.home-edition-container {
  max-width: 1320px !important;
}

.home-edition-type-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-edition-type-btn {
  font-size: 15px;
}

.home-edition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 550px) {
  .home-edition-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-edition-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Calendar Widget Custom Styles */
#calendar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#calendar .litepicker {
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
  background: transparent !important;
}

#calendar .litepicker .container__months {
  box-shadow: none !important;
  border: none !important;
  width: 100% !important;
  margin: 0 auto !important;
  justify-content: center !important;
}

#calendar .litepicker .container__months .month-item {
  width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#calendar .litepicker .container__months .month-item-header {
  font-weight: 600 !important;
  color: #1e293b !important;
  font-size: 14px !important;
  padding: 8px 0 12px 0 !important;
}

#calendar .litepicker .container__months .month-item-weekdays-row>div {
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}

#calendar .litepicker .container__days {
  gap: 4px 0 !important;
}

#calendar .litepicker .container__days .day-item {
  width: 32px !important;
  height: 32px !important;
  margin: 2px auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9999px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  border: 1.5px solid transparent !important;
  background-color: transparent !important;
  color: #334155;
  box-sizing: border-box !important;
}

/* 1) Current / Active selected date: Solid active background + active ring */
#calendar .litepicker .container__days .day-item.is-active-selected,
#calendar .litepicker .container__days .day-item.is-start-date {
  background-color: #dc2626 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1.5px solid #dc2626 !important;
  border-radius: 9999px !important;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #dc2626 !important;
}

#calendar .litepicker .container__days .day-item.is-active-selected:hover,
#calendar .litepicker .container__days .day-item.is-start-date:hover {
  background-color: #b91c1c !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #b91c1c !important;
}

/* 2) Unselected date with editions uploaded: Red number + simple circular border */
#calendar .litepicker .container__days .day-item.has-edition-available:not(.is-active-selected):not(.is-start-date),
#calendar .litepicker .container__days .day-item:not(.is-locked):not(.is-active-selected):not(.is-start-date) {
  color: #dc2626 !important;
  font-weight: 600 !important;
  border: 1.5px solid #dc2626 !important;
  border-radius: 9999px !important;
  background-color: #fee2e2 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

#calendar .litepicker .container__days .day-item.has-edition-available:not(.is-active-selected):not(.is-start-date):hover,
#calendar .litepicker .container__days .day-item:not(.is-locked):not(.is-active-selected):not(.is-start-date):hover {
  background-color: #fee2e2 !important;
  color: #dc2626 !important;
  border-color: #dc2626 !important;
}

/* Dates with NO editions uploaded (locked) */
#calendar .litepicker .container__days .day-item.is-locked {
  color: #94a3b8 !important;
  border: 1.5px solid transparent !important;
  background-color: transparent !important;
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

#calendar .litepicker .container__days .day-item.is-locked:hover {
  background-color: transparent !important;
  color: #94a3b8 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Home Main Center styles moved from __home-main-center.php */
@media (max-width: 767px) {
  .titleTag b {
    display: inline-block;
    max-width: 33vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }
}

.good-background {
  background-color: #ffffff;
  background-image: repeating-radial-gradient(circle at 0 0, transparent 0, #ffffff 12px), repeating-linear-gradient(#bdbdbd55, #bdbdbd);
}

.crop-area {
  position: absolute;
  cursor: pointer;
  box-sizing: border-box;
  overflow: hidden;
  background-color: transparent !important;
  border: 1px dashed transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.crop-area:hover {
  background-color: transparent !important;
  border-color: transparent;
}

.blurred-area {
  background-color: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 2px dashed rgba(239, 68, 68, 0.45) !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

.blurred-area:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.8) !important;
}

.crop-area::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(101, 120, 191, 0.4) !important;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  will-change: opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  transition: opacity 0.2s ease-in-out !important;
}

.crop-area:hover::after {
  opacity: 1 !important;
}

/* Auth Divider & Bottom Sheet */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 0.75rem;
  color: #000;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #000;
}

.bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.bottom-sheet-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100%;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.2);
  transition: 0.35s ease-out;
  max-height: 80vh;
  overflow-y: auto;
}

.bottom-sheet.active {
  bottom: 0;
}

.bottom-sheet-handle {
  width: 44px;
  height: 5px;
  background: #ccc;
  border-radius: 50px;
  margin: 0 auto 12px auto;
}

.login-cta {
  margin-top: 22px;
  height: 48px;
  border-radius: 8px;
  background: var(--primary-color);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Subscription Expiry Strip */
.subscription-expiry-strip {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 44px 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  background: #fff7e6;
  color: #9a6700;
  border-top: 1px solid #ffe2a8;
}

.subscription-expiry-strip.expired {
  background: #fdecec;
  color: #b42318;
  border-top-color: #f5c2c0;
}

.subscription-expiry-strip a {
  margin-left: 8px;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
}

.subscription-expiry-strip strong {
  font-weight: 700;
}

.expiry-close-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}

.expiry-close-btn:hover {
  opacity: 1;
}

/* __homeMainCenter component styles */
.loader-logo-img {
  width: 60px;
  display: none;
}

.newspaper-container-relative {
  position: relative;
}

.newspaper-img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.crop-share-btn {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10000000000;
}

.crop-cancel-btn {
  display: none;
  position: absolute;
  top: 10px;
  right: 80px;
  z-index: 10000000000;
}

.mobile-bar-title {
  margin-left: auto;
  margin-right: 20px;
  margin-top: 8px;
  font-size: 16px;
  color: white;
  text-wrap: nowrap;
  font-weight: 600;
}

.ad-iframe-container {
  border: 1px solid #ddd;
  padding: 5px;
  margin-bottom: 10px;
}

.ad-iframe {
  width: 100%;
  height: 160px;
  border: 0;
  overflow: hidden;
}

.ad-banner-img {
  border: 1px solid #ddd;
  padding: 5px;
  max-width: 100%;
}

.subscription-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100%;
  border-radius: 18px 18px 0 0;
  padding: 28px 22px;
  z-index: 9999;
  max-height: 85vh;
  overflow-y: auto;
  transition: bottom 0.35s ease-out;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
}

.subscription-header {
  text-align: center;
  width: 100%;
}

.subscription-logo-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.subscription-brand-logo {
  margin-bottom: 12px;
  display: block;
}

.subscription-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 6px;
  color: #000;
}

.subscription-subtitle {
  font-size: 0.95rem;
  color: #545454;
  margin: 0;
}

.subscription-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 800px;
  gap: 16px;
  margin: 24px auto;
  background: rgba(255, 255, 255, 0.75);
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.plan-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  background: #fff;
  position: relative;
}

.plan-card.archived {
  border: 2px dashed #eab308;
  padding-top: 45px;
  background: #fffbea;
}

.plan-archive-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #facc15;
  color: #000;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.plan-name {
  margin-bottom: 8px;
  font-weight: 600;
}

.plan-price {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 6px 0;
}

.plan-duration {
  font-size: 0.85rem;
  font-weight: 400;
}

.plan-access-note {
  font-size: 0.9rem;
  color: #666;
}

.purchase-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  background: #0d6efd;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.auth-btn-wrapper {
  max-width: 800px;
  margin: 24px auto;
}

.dynamic-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4285F4;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  height: 48px;
  margin-top: 24px;
  text-decoration: none;
}

.subscription-contact-info {
  text-align: center;
  margin-top: 24px;
}

.subscription-contact-link {
  font-size: 0.92rem;
  text-decoration: none;
  color: #333;
}

/* Clip Page Styles */
#ocrImage {
  width: 100% !important;
  max-width: 1600px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px;
}

.animated-background {
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e2e2e2 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loadingAnimation 1.5s infinite;
  border-radius: 5px;
  margin: 6px 0;
}

.animated-background.w-50 {
  width: 50%;
}

@keyframes loadingAnimation {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.button-8 {
  background: #0d6efd;
  border: none;
  border-radius: 6px;
  color: white;
  padding: 10px 14px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.button-8:hover {
  background: #0b5ed7;
}

.crop-wrapper {
  box-shadow: 1px 2px 3px #c5c5c5;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 20px;
}

.crop-main-box {
  box-shadow: 1px 2px 3px #c5c5c5;
  padding-bottom: 12px;
}

.grid {
  gap: 1rem;
}

.modal-body {
  margin-top: 8px;
}

#cropPrintAdditional {
  margin-top: 25px;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.clip-actions-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.clip-action-btn {
  border-radius: 100px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-sidebar-card {
  box-shadow: 1px 2px 3px #c5c5c5;
  height: fit-content;
}

.calendar-sidebar-title {
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0;
}

.clip-ad-img {
  border: 1px solid #ddd;
  padding: 5px;
}

.crop-image {
  max-width: 100%;
  border: 1px solid #ddd;
  padding: 11px;
}