/* CSS Variables */
:root {
  --variant-primary: #24b26b;
  --variant-secondary: #cc2929;
  --variant-text: #ffffff;
}

/* Base Styles */
body {
  font-family: SF Pro Display, Open Sans, Roboto, Arial, Inter, Helvetica Neue,
    sans-serif;
  margin: 0;
  background-image: url(https://cp-images.casinoplus.live/cp-web/images/imgs/common/main-background.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  color: var(--variant-text);
  background-color: #0a2c33;
}

button {
  all: unset;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  object-fit: cover;
}

/* Layout */
.layout__wrapper {
  display: flex;
}

/* Header */
.header {
  background-color: #1f454d;
  padding: 24px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}

.side__menu__logo {
  width: 128px;
  height: 46px;
}

.side__menu__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.back-to-home-button {
  border: 1px solid #f6f6f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
}

.back-to-home-button > img {
  height: 20px;
  width: 20px;
}

/* Main */
.main {
  -webkit-box-flex: 1;
  flex-grow: 1;
  min-height: 100vh;
  min-width: 768px;
  overflow: visible;
}

.main__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  padding-top: 0;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--variant-text);
}

/* Page Title */
.page__title {
  font-size: 24px;
  text-align: center;
}

.page__title h5 {
  margin: 0;
  padding: 24px 0;
  font-size: 1.5rem;
}

/* App Content */
.app__content {
  color: rgb(255, 255, 255);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 40px 100px;
  margin-bottom: 80px;
  border-radius: 16px;
  font-size: 16px;
}

/* TNC Wrapper */
.tnc-wrapper h5 {
  margin: 0px;
  padding: 24px 0px;
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tnc-container {
  display: grid;
  grid-template-columns: unset;
  gap: 12px;
  border-bottom: none;
  padding-top: 16px;
}

.tnc-container:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tnc-item {
  border-radius: 8px;
}

.tnc-item h2,
.tnc-item h3,
.tnc-item h4 {
  font-weight: bold;
}

.tnc-item h2 {
  font-size: 20px;
}

.tnc-item h3 {
  font-size: 18px;
}

.tnc-item p {
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.tnc-item ul {
  margin: 1.5rem 0 1.5rem 1.5rem;
  list-style: disc;
}

.tnc-item ul.no-margin {
  margin: 0;
}

.tnc-item ol {
  margin-left: 16px;
}

.tnc-item img {
  height: auto;
  width: 100%;
}

#privacy_policy_popup,
#privacy_notice_popup,
#cookies_policy {
  cursor: pointer;
}

/* Back to Top */
.backTop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: none;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}

/* Utility Classes */
.hide {
  display: none !important;
}

/* Modal Container */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  text-align: center;
  z-index: 9999;
}

.modal-container.fade {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.modal-container.hide {
  display: none;
}

.modal-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(rgb(5, 22, 26) 0%, rgb(10, 44, 51) 100%);
  border-radius: 16px;
  max-width: 536px;
  padding: 24px;
  color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  position: relative;
  outline: solid 0px;
}

.modal-content {
  font-size: 12px;
}

.modal-content.pagcor {
  min-height: 185px;
}

.modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 21.36px;
  margin-bottom: 24px;
}

.modal-header .icon-pagcor {
  width: 100%;
  height: 60px;
  object-fit: contain;
}

.modal-header .icon-keep-it-fun {
  width: 100%;
  height: 50px;
  object-fit: contain;
}

.modal-header .modal-btn-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.modal-body {
  text-align: left;
  line-height: 1.5;
}

.modal-body .highlight {
  color: rgb(36, 178, 107);
}

.modal-body ul {
  padding: 8px 0px 8px 28px;
}

.modal-body ul li {
  list-style: disc;
  padding-top: 8px;
}

.modal-body::-webkit-scrollbar {
  display: none;
}

.modal-body-tnc {
  margin-top: 8px;
  margin-bottom: 24px;
  text-align: justify;
}

.modal-body-tnc .tnc {
  cursor: pointer;
}

.modal-body-tnc a {
  text-decoration: none;
  color: rgb(36, 178, 107);
}

.modal-btn-container {
  display: flex;
  gap: 10.4px;
}

.modal-btn-container > button {
  width: 100%;
  height: 40px;
  border-radius: 24px;
  background-color: rgb(36, 178, 107);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.modal-btn-container > button.btn-exit {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Inline list styles */
ol.style-lower-roman {
  list-style-type: lower-roman;
}

ol.style-lower-alpha {
  list-style-type: lower-alpha;
}

ol.style-number {
  list-style-type: decimal;
}
