@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

html, body {
    height: 100%;
    margin: 0;
}

:root {
  --brand: #8576FF;
  --brand-light: #a297ff;
  --gradient: linear-gradient(135deg, #8576FF, #7d5fff, #a297ff);
  --text-dark: #1a1a1a;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --radius: 18px;
}

/* Modal background */
.announcement-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  animation: fadeIn 0.3s ease-in-out;
}

/* Modal box */
.announcement-modal-content {
  background: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: slideUp 0.4s ease;
}

/* Close button */
.announcement-close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.announcement-close-btn:hover {
  color: #333;
}

/* Heading */
.announcement-modal-content h2 {
  color: #8576FF;
  margin-bottom: 15px;
}

/* Links */
.announcement-modal-content a {
  color: #8576FF;
  text-decoration: none;
  font-weight: 600;
}
.announcement-modal-content a:hover {
  text-decoration: underline;
}

/* CTA Button */
.announcement-cta-btn {
  margin-top: 20px;
  padding: 12px 24px;
  background: #8576FF;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.announcement-cta-btn:hover {
  background: #6f62d7;
}

/* Animations */
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


.disclaimer-box {
    background-color: #f8d7da; /* Light red background for visibility */
    color: #721c24;            /* Dark red text for emphasis */
    border: 1px solid #f5c6cb; /* Red border for a clear separation */
    padding: 15px;
    text-align: center;
    font-size: 1rem;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.disclaimer-box p {
    margin: 0;
    font-weight: bold;
    font-size: x-small;
}

.dis-close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    color: #842029;
}

.dis-close-btn:hover {
    color: #000;
}

a {
    color: black;
}
.fas:not(.input-group .fas, .benefit-list .fas, .back .fas, .d-inline .fa-trash-alt) {
    color: #8576FF;
}

.fas {
    line-height: inherit !important;
}

#title {
    background-color: #8576FF;
}

.text-primary {
    color: #8576FF !important;
}

.btn-primary, .btn-remove {
    background-color: #8576FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover, .btn-remove:hover {
    background-color: #2E073F;
}



/*@media (prefers-color-scheme: dark) {
  body, .card, .view-all-box, .list-group-item, #cart-sidebar, #cart-footer, .checkout-section, .subscription-page {
    background-color: #3C3D37 !important; /* Dark mode background
  }
  h2:not(.plan-title),.card-header, th, td, span:not(.star-rating span), a:not(.dropdown-item), button.owl-prev, button.owl-next, p:not(.book-card p, .price, #plan-price, .modal-content p), h3:not(.book-card h3, #plan-name), h4, h1, h5, hr{
    color: #fff !important;
  }
  #title, .nav-section{
    background-color: #2E073F !important;
  }
  .table {
    --bs-table-bg:#3C3D37;
  }
}*/


/* Dark Mode Styles */
.dark-mode body, .dark-mode .card, .dark-mode .view-all-box, .dark-mode .list-group-item,
.dark-mode #cart-sidebar, .dark-mode #cart-footer,
.dark-mode .suggest-review, .dark-mode .author-details,
.dark-mode .author-header, .dark-mode .author-description, .dark-mode .subscription-card {
    background-color: #3C3D37 !important; /* Dark mode background*/
}

.dark-mode h2:not(.checkout-body h2, .plan-title, .pref-content h2, .announcement-modal-content h2), .dark-mode .card-header,
.dark-mode th:not(.checkout-body th),
.dark-mode td:not(.checkout-body td),
.dark-mode span:not(.checkout-body span, .share-option span, .announcement-modal-content span, .star-rating span, .user-star-rating span, #wishlist-button-text, .progress-text, .slider),
.dark-mode a:not(.checkout-body a, #cookie-banner a, .announcement-modal-content a, .dropdown-item, .back a, .nav-link.logout, footer a),
.dark-mode button.owl-prev, .dark-mode button.owl-next,
.dark-mode p:not(.checkout-body p, #cookie-banner p, .announcement-modal-content p, .book-card p, .price, #plan-price, .modal-content p, .info-box p, #user-email-text, footer p, .disclaimer-box p),
.dark-mode h3:not(.checkout-body h3, .book-card h3, #plan-name, footer h3),
.dark-mode h4:not(.checkout-body h4),
.dark-mode h1:not(#choose-plan),
.dark-mode h5:not(.checkout-body h5, .share-panel h5, .modal-title),
.dark-mode hr:not(.benefits hr),
.dark-mode label, .dark-mode #close-cart,
.dark-mode small,
.dark-mode .social-links, .dark-mode .author-description, .dark-mode .type-tag, .dark-mode #active-sub li:not(.prog-list) {
    color: #fff !important;
}

.dark-mode #title, .dark-mode .nav-section {
    background-color: #8576FF !important;
}

.dark-mode .table:not(.checkout-body .table) {
    --bs-table-bg: #3C3D37;
}

.type-tag {
    color: grey;
    text-align:center;
    margin:0;
}


.alert-modal {
    position: fixed;
    z-index: 1080;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


#modal-ok-button {
    padding: 10px 20px;
    cursor: pointer;
}


.modal-content p {
    margin-bottom: 20px;
}

.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.modal-footer {
    justify-content: center;
}
.suggest-review {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.custom-btn {
    background-color: #8576FF;
    border: 0;
}

.manage-device-btn {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 20px;
}

.manage-devices .fas {
    margin-right: 10px;
}

#title .container-fluid{
    padding: 3% 10% 0;
}

#title div.row{
    padding-top: 4rem;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
}

body{
    font-family: "Montserrat", sans-serif;
}

.dropdown-menu {
    width: 70%;
}


.btn-lg{
    margin: 5% 3% 5% 0;
}

a button {
    display: inline-block;
}

.size-image{
    width: 100%;
    position: relative;
}

.no-decor {
    text-decoration: none;
    color: inherit;
}


h1{
    font-family: "Montserrat", sans-serif;
    font-size: 3.5rem;
    line-height: 1.5;
    font-weight: 900;
    color: #EEF0E5;
}

.section-title {
    margin-top: 2rem;
}

#cta{
    background-color: #FF5BAE;
    text-align: center;
    padding: 5% 20%;
}

#cta h3{
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: #EEF0E5;
}

#title .col-lg-6 {
    padding: 0;
}

@media (max-width: 991px) {
    h1 {
      font-size: 2rem;
    }

    #title{
        text-align: center;
    }

    #title div.row{
        padding-top: 1rem;
    }
    #cta h3{
        font-weight: 500;
        font-size: 2rem;
    }
}
