/* ------------------------------------  */


/* ---------- SITE FRAMEWORK ----------  */


/* ------------------------------------  */

@import 'variables.php';

html {
    scroll-behavior: smooth;
    min-height: 100dvh;
}

body {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    background: var(--siteBackground) url(../images/bg.png);
    min-height: 100dvh;
}

* {
    box-sizing: border-box;
}

:root {
    --bs-success-rgb: 28, 187, 140;
    --bs-primary-rgb: 59, 125, 221;
}



/* DISPLAY CLASSES */

.full-width-fix {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hidden {
    display: none;
}

.hideImportant {
    display: none !important;
}


/* SITE FORMS */

input::placeholder {
    font-family: 'Noto Sans';
}

textarea {
    font-family: 'Noto Sans';
}

select {
    width: 100%;
    border: 1px solid #DBDBDB;
    height: 50px;
    padding: 0 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url(../images/chevron-down-black.svg) no-repeat 98% center #fff;
    outline: none !important;
    box-shadow: none !important;
}

input[type=text],
input[type=date],
input[type=tel],
input[type=number],
input[type=email],
input[type=password],
textarea {
    width: 100%;
    height: 50px;
    background-color: #fff;
    border: 1px solid #DBDBDB;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 1rem;
    color: var(--mainColour);
    transition: 0.2s ease-in-out all;
    outline: none !important;
    box-shadow: none !important;
}

textarea {
    height: 100px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

:is(input, select, textarea).input-error {
    border-color: #a30e0e !important;
}

.site-form-field {
    padding: 10px 0;
}

.site-form-label {
    color: #3B3B3D;
    padding: 5px 0;
}

table.dataTable > tbody > tr > th, table.dataTable > tbody > tr > td {
    padding: 10px;
}

.dt-input {height: 30px;}

/* ----- TYPOGRAPHY ----- */

h1,
h2,
h3,
h4,
h5,
h6 {
    display: block;
    color: var(--headingsColour);
    margin: 0;
    padding: 0 0 0px 0;
    font-weight: 400;
}


p {
    padding: 5px 0;
    font-size: 1rem;
    color: var(--paragraphColour);
    margin: 0;
}

a {
    text-decoration: none;
    color: #6c757d;
    transition: all 0.3s ease-in-out;
}

a:focus-visible {
    background-color: #f9dc4a;
    color: #000;
    outline: 1px solid #000;
}

ul {
    list-style-position: outside;
    padding: 5px 0 20px 20px;
    font-size: 1rem;
    color: var(--paragraphColour);
    list-style-type: disc;
}

ul li {
    padding: 0 0 15px 0;
}

ol {
    list-style-position: outside;
    padding: 5px 0 20px 20px;
    font-size: 1rem;
    color: var(--paragraphColour);
    list-style-type: decimal;
}

ol li {
    padding: 0 0 5px 0;
}

hr {
    color: #D8D8D8;
    background: #D8D8D8;
    height: 1px;
    border: 0;
    margin-bottom: 20px;
    position: relative;
}

*[class^="button-"], *[class*=" button-"] { font-family: var(--secondaryFont); display: inline-flex; align-items: center; justify-content: center; padding: 0px 20px; margin: 0; height: 54px; text-align: center; text-decoration: none; transition: 0.2s ease-in all; font-size: 1rem; font-weight: 600; border-radius: 5px; text-decoration: none; }
.button-primary { background: var(--secondaryColour); border: 1px solid var(--secondaryColour); color: #fff !important; }
.button-primary:hover { background: #fff; color: var(--secondaryColour) !important; text-decoration: none; }
.button-secondary { background: #fff; color: var(--mainColour) !important; }
.button-secondary:hover { background: var(--mainColour); color: #fff !important; }

.bg-success {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-success-rgb),var(--bs-bg-opacity)) !important;
  }

.pop-message-holder {
    display: flex;
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 10000000000000;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.pop-message {
    padding: 20px;
    font-size: 16px;
    display: none;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

header {height: 80px;}
header h1 {font-size: 1.75rem;}

.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: WHITE;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 1rem;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    max-width: 400px;
    min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
    -webkit-align-items: center;
    align-items: center;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
    -webkit-transition: opacity .218s;
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
    border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #303030;
    opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #303030;
    opacity: 8%;
}

.login-logo {
   height: 100px;
}

.logo {height: 60px;}

.device-image {padding: 1rem;}
.device-image img {
    max-width: 100%;
    aspect-ratio: 1/1;
}

.game-image {
    padding: 1rem 0;
}
.game-image img {
    max-width: 120px;
    aspect-ratio: 1/1;
    flex: 0 0 auto;
    width: auto;
}


.overlay-loader {
    position: fixed;
    top: 0;
    bottom:0;
    left:0;
    right: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
}


.empty-loader:not(.hidden):empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 5px;
}

.empty-loader:not(.hidden):empty:after {
    content: '';
    width: 5%;
    aspect-ratio: 1/1;
    border: 2px solid #fff;
    border-color: #3b7ddd transparent transparent;
    border-radius: 50%;
    animation: spin .75s infinite;
}

i.fas, i.far {margin-right: 10px;}

.card-title {
    margin-bottom: 1.5rem;
}

.conv:before, .pen_kick:before{
    display: inline-block;
    content: '';
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    background: url(../images/conv.svg) no-repeat center;
}
.try:before, .pen_try:before{
    display: inline-block;
    content: '';
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    background: url(../images/try.svg) no-repeat center;
}

.timeline-noteam {
    background: var(--background) !important;
}

#snackbar {
    visibility: hidden;
    text-align: center;
    position: fixed;
    z-index: 10000;
    top: 30px;
    left: 50%;
    width: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }
    to {
        top: 30px;
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.menu-toggle {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    border: 1px solid var(--border);
    outline: 0;
    background: #fff;
    border-radius: 10px;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.menu ul li {
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
    font-size: 1.25rem;
}


.menu ul li a {
    height: 60px;
    color: inherit;
}
.menu ul li a:hover {
    color: #5370ff;
}


/* ----- DASHBOARD ----- */
.dashboard-header { color: var(--mainColour); }
.dashboard-header .container { display: flex; align-items: center; justify-content: space-between; height: 120px; gap: 5px; padding: 0 10px; font-size: 16px; }
.dashboard-header span:nth-child(1) { font-size: 24px; font-weight: 600; }
.dashboard-header span:nth-child(2) { margin-left: auto; display: flex; align-items: center; font-weight: 600; gap: 5px; }
.dashboard-header span:nth-child(2):before { content: ''; width: 15px; height: 17px; background: url(../images/account.svg) no-repeat center; background-size: contain; }
.dashboard-header a { color: var(--mainColour); text-decoration: underline; }
.dash-tabs { display: flex; flex-direction: column; gap: 20px; margin-bottom: 10px }
.tab-link { display: flex; align-items: center; gap: 20px; height: 76px; padding: 0 20px; font-size: 1.138rem; font-weight: 500; color: #000; background: #fff; transition: all 0.3s ease-in-out; border: 1px solid var(--border); }
.tab-link[data-tab]:after { content: ''; margin-left: auto; width: 30px; height: 30px; background: url(../images/chevron-down-black.svg) no-repeat center; }
.tab-link.active { color: #5370ff; border-width: 1px 1px 0; }
.tab-link[data-tab].active:after {transform: rotate(180deg); }
.tab-link > span:nth-child(2) { font-weight: 400; }
.dash-tab-inner { display: none; }
.dash-tab-inner.active { display: block; padding: 15px; background: #fff; border: 1px solid var(--border); border-width: 0 1px 1px; }
.dash-forms-wrap { display: flex; }
.dash-form-field { padding: 10px 0; }
.dash-form-label { font-size: 16px; color: #3B3B3D; padding: 5px 0; }
.dash-form-input { width: 100%; }
.dash-form-button-row { padding: 10px 0; }

/* ----- SUBSCRIPTION FORM ----- */
.subscribe { background: #fff; border-radius: 5px; padding: 30px 10px; margin: 20px 0; font-family: var(--secondaryFont); }
.subscribe-header { font-size: 1.938rem; font-weight: 600; color: var(--mainColour); }
.subscribe-text { padding: 20px 0; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.subscribe-description { aspect-ratio: 1.25/1; display: flex; background-color: #FAFAFA; align-items: center; justify-content: center; }
.subscription-list { display: flex; flex-direction: column; gap: 10px; }

.subscribe-description>div { max-width: 80%; }
.subscribe-info { font-weight: 600; }
.subscribe-step:not(.active) { display: none; }
.subscription:not(:last-child) { border-bottom: 1px solid #CFD9EC; }
.subscription-title { color: var(--mainColour); font-size: 1.5rem; line-height: 1.4; }
.subscription-description { color: #707070; }

.subscription {display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; margin: 1.5rem 0;}
.subscription.active {background: var(--bs-success-bg-subtle);}
.subscribe-info {display: flex; flex-direction: column; align-items: flex-end; justify-content: center;}


.subscriptions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 10px;
}
.subscription-frequency-toggle{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--mainColour);
}
.subscription-frequency-toggle > div:nth-child(2){
    border: 1px solid var(--secondaryColour);
    border-radius: 18px;
    height: 36px;
    width: 70px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 5px;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}
.subscription-frequency-toggle > div:nth-child(2):before{
    content: '';
    width: 26px;
    height: 26px;
    background: var(--secondaryColour);
    border-radius: 50%;
}
.subscription-frequency-toggle > div:nth-child(2).active{
    justify-content: flex-end;
}

.subscription-item {
    background: #fff;
    border-radius: 5px;
    border: 1px solid #92C8F1;
    padding: 22px;
}

.subscription-item-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mainColour);
}
.subscription-item-text {
    line-height: 1.5rem;
    color: var(--mainColour);

}

.subscription-item.active {
    border-color: var(--mainColour);
}

.subscribe-form .subscription-list {
    padding: 0;
    width: 100%;
    background: #fff;
    border: 0;

}
.subscription-item .subscription-list-feature {
    font-size: 1rem;
    font-weight: 400;
}


.payment-card i {
    font-size: 1.5rem;
}

.payment-card > a:nth-last-child(2) {
    width: 60px;
    height: 60px;
    position: relative;
    margin-left: auto;
}
.payment-card > a:nth-last-child(2):before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    border: 2px solid #000;
    border-radius: 50%; 
}
.payment-card.list-group-item-success > a:nth-last-child(2):after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    background: var(--bs-success);
    border-radius: 50%; 
}

.payment-card.list-group-item-success > a:nth-last-child(2):before {
    border-color: var(--bs-success);
}

.payment-card > div:nth-child(2)>div:first-child{
    font-size: 1.083rem;
}

.disclaimer {font-size: .75rem;}

@media (min-width:768px) {
    .col-md-6.input-group {
        width: 50%;
    }
}