@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700;900&display=swap');

/* ================================================== */
/* ROOT VARIABLES                                    */
/* ================================================== */

:root {
    /* Color scheme from stats.nide.gg */
    --body-bg-color: #020308;
    --body-bg-gradient-1: linear-gradient(
        90deg,
        #020308 0%,
        #020308 8%,
        #05091a 20%,
        #060a1d 50%,
        #05091a 80%,
        #020308 92%,
        #020308 100%
    );
    --body-bg-gradient-2: linear-gradient(
        180deg,
        #050816 0%,
        rgba(5, 8, 22, 0.95) 16%,
        rgba(5, 8, 22, 0.85) 24%,
        transparent 42%
    );
    --body-bg-gradient-3: radial-gradient(
        ellipse 80% 45% at 50% 120%,
        rgba(37, 99, 235, 0.16) 0%,
        transparent 60%
    );

    /* Theme colors */
    --theme-background: #020308;
    --theme-area-background: #0a0f1e;
    --theme-text: #e5e7eb;
    --theme-text-light: #bdbdbd;
    --theme-text-light-hover: #fff;
    
    /* Links */
    --link-primary: #60a5fa;
    --link-hover: #93c5fd;
    
    /* Buttons */
    --button-primary: #60a5fa;
    --button-primary-hover: #3b82f6;
    --button-success: #267b3c;
    --button-infos: #e06d22;
    --button-important: #ca1e1e;
    --button-light: #22242f;
    --button-light-text: #ffffff;
    --button-background-hover: rgba(255, 255, 255, 0.08);
    
    /* Input */
    --input-desc: #98a3ad;
    --input-disabled: rgba(96, 165, 250, 0.50);
    --input-border: #22242f;
    --input-focus: #60a5fa;
    
    /* Status colors */
    --color-expired: 56, 122, 98;
    --color-active: 221, 107, 32;
    --color-permanent: 197, 48, 48;
    
    /* Layout */
    --container-width: 1830px;
    --line-hr: rgba(255, 255, 255, 0.1);
    --box-shadow: none;
    --box-shadow-child: 0 0 0 1px rgba(147, 161, 181, 0.2), 0 0 40px 0 transparent;
    --backdrop-background: rgba(10, 15, 30, 0.85);
    --backdrop-text-color: #ffffff;
    
    /* Footer */
    --footer-text: #e5e7eb;
    --footer-bg: #0a0f1e;
}

/* ================================================== */
/* GLOBAL STYLES                                     */
/* ================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    font-size: 10px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.3rem;
    line-height: 1.5;
    height: 100%;
    margin: 0;
    cursor: inherit !important;
    background-color: var(--theme-background);
    background-image:
        var(--body-bg-gradient-1),
        var(--body-bg-gradient-2),
        var(--body-bg-gradient-3);
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 420px, 100% 100%;
    background-position: center top;
    background-attachment: fixed;
}

a {
    transition: color 0.2s ease;
    color: var(--link-primary);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

/* ================================================== */
/* HEADER                                            */
/* ================================================== */

.header1 {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 17px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
}

.header1-icons {
    display: inline-block;
    order: 1;
}

.header1-icons a:hover {
    text-decoration: none;
}

.header2 {
    margin-top: 1.4cm;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 10px;
    border: none;
}

.header3 {
    flex: 1 auto;
    display: block;
    height: 100%;
    width: 10%;
    padding: 2px;
}

.header3 ul {
    width: 100%;
    height: 100%;
    list-style: none;
}

.header3 ul li {
    margin-top: 8px;
    position: relative;
    width: 100%;
    height: 46px;
}

.header3 ul li a:hover,
.header3 ul li a:focus {
    text-decoration: none;
    box-shadow: inset 400px 0 0 0 rgba(96, 165, 250, 0.2);
}

/* ================================================== */
/* LOGIN & LOGO                                      */
/* ================================================== */

.login {
    display: inline-block;
    order: 2;
}

.login p {
    color: var(--theme-text);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login a {
    display: inline-block;
}

.logo {
    cursor: pointer;
    order: 1;
    margin-right: auto;
    margin-bottom: -10px;
}

/* ================================================== */
/* SEARCH BAR                                        */
/* ================================================== */

.search_input {
    cursor: pointer;
    order: 2;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    width: 30%;
    height: 100%;
}

.search_input p {
    color: var(--theme-text);
    font-size: 13px;
}

.search_input::after {
    content: "";
    clear: both;
    display: table;
}

.input-header-search {
    width: 300px;
    height: 40px;
    margin-top: 0.4cm;
}

.input {
    border: 2px solid var(--input-border);
    border-radius: 4px;
    font-size: 15px;
    padding: 5px;
    color: var(--theme-text);
    background-color: var(--theme-area-background);
}

.input:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 15px var(--input-focus);
    transition: box-shadow 0.2s, border-color 0.2s;
}

#search_icon {
    cursor: pointer;
    background-color: var(--button-primary);
    color: var(--theme-text);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 3px;
    font-size: 15px;
}

#search_icon:hover {
    background-color: var(--button-primary-hover);
}

/* ================================================== */
/* NAVIGATION                                        */
/* ================================================== */

.not-active {
    display: block;
    padding: 15px 25px;
    color: var(--theme-text-light);
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-size: 15px;
    transition: all 0.5s ease 0s;
}

.active {
    display: block;
    padding: 15px 25px;
    color: var(--theme-text-light);
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-size: 15px;
    transition: all 0.5s ease 0s;
    border: none;
    border-left: 5px var(--button-primary) solid;
}

/* ================================================== */
/* BREADCRUMB                                        */
/* ================================================== */

.breadcrumb {
    font-size: 13px;
    font-weight: 400;
    padding: 10px 0;
    margin-bottom: 20px;
    margin-left: 1.5%;
}

.breadcrumb > *:last-child {
    font-weight: bold;
}

.fa-angle-right:before {
    color: white;
}

/* ================================================== */
/* CONTAINER                                         */
/* ================================================== */

.body_content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.container {
    flex: 2 auto;
    display: block;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: auto;
    background-color: var(--theme-background);
}

.container-header {
    margin-top: 10px;
}

.container-header > h1 {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
    margin-left: 1.5%;
    color: var(--theme-text);
}

.container-header p {
    color: var(--link-primary);
    font-weight: bold;
    font-size: 25px;
    margin-left: 1.5%;
}

.container-box1 {
    border-radius: 7px;
    margin-top: 20px;
    margin-left: 1.5%;
    width: 97%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--theme-area-background);
}

.container-box1 .order1 {
    display: inline-flex;
    order: 1;
    color: var(--theme-text);
    font-size: 12px;
}

.container-box1 .order2 {
    display: inline-flex;
    order: 2;
    color: var(--theme-text);
    font-size: 12px;
    line-height: 26px;
}

.container-search {
    border-radius: 7px;
    margin-top: 10px;
    margin-left: 1.5%;
    width: 97%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--theme-area-background);
}

.search-button {
    text-align: center;
    cursor: pointer;
    width: 97%;
    margin-left: 1.5%;
    height: 25px;
    background-color: var(--theme-area-background);
    transition: all 0.5s ease 0s;
}

.search-button p {
    color: var(--theme-text);
    font-size: 13.5px;
    font-weight: bold;
}

.search-button:hover {
    background-color: rgba(96, 165, 250, 0.2);
}

.error-box {
    border-radius: 7px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 1.5%;
    width: 97%;
    height: auto;
    align-items: center;
    background-color: var(--theme-area-background);
    text-align: center;
    color: red;
    font-size: 25px;
}

.container-box2 {
    border-radius: 7px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 1.5%;
    width: 97%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--theme-area-background);
}

.container-box2-table {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 1.5%;
    width: 97%;
    height: auto;
}

/* ================================================== */
/* LAYOUT                                            */
/* ================================================== */

.layout_container {
    max-width: var(--container-width);
    padding: 0 15px;
    margin: 0 auto;
    position: relative;
}

.layout_box {
    box-shadow: var(--box-shadow);
    border-radius: 7px;
    background-color: var(--theme-area-background);
}

.layout_box_title {
    background-color: var(--button-primary);
    padding: 16px;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    color: #fff;
    border-radius: 7px;
}

li.layout_box_title {
    list-style-type: none;
}

.layout_box_title h2,
.layout_box_title h3,
.layout_box_title h4 {
    padding: 0;
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.layout_box_small {
    width: 98%;
    max-width: 450px;
}

.layout_box_medium {
    width: 98%;
    max-width: 700px;
}

.layout_box-child {
    box-shadow: var(--box-shadow-child);
    border-radius: 7px;
}

.layout_topBar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--backdrop-background);
    backdrop-filter: blur(10px);
    color: var(--backdrop-text-color);
    box-shadow: 0 0 40px 0 rgba(56, 55, 93, 0.3);
    padding: 10px 0;
}

/* ================================================== */
/* FOOTER                                            */
/* ================================================== */

.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    width: 100%;
}

.footer > .layout_container {
    padding: 20px 15px;
}

.footer a {
    font-weight: bold;
}

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

.button,
.ok {
    display: block;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    font-family: inherit;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    color: #fff !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button a,
.ok a {
    color: inherit;
}

.button a:hover,
.ok a:hover {
    text-decoration: none;
}

.button:hover,
.ok:hover {
    text-decoration: none;
}

.button::after,
.ok::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--button-background-hover);
    transform: scaleX(0);
    height: 100%;
    transition: transform 0.7s ease-out;
    transform-origin: left;
}

.button:hover::after,
.ok:hover::after {
    transform: scaleX(1);
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.button-success,
.ok-success {
    background-color: var(--button-success);
}

.button-infos,
.ok-infos {
    background-color: var(--button-infos);
}

.button-important,
.ok-important {
    background-color: var(--button-important);
}

.button-primary,
.ok-primary {
    background-color: var(--button-primary);
}

.button-primary:hover,
.ok-primary:hover {
    background-color: var(--button-primary-hover);
}

.button-light,
.ok-light {
    background-color: var(--button-light);
    color: var(--button-light-text) !important;
}

.button\:line,
.ok\:line {
    display: inline-block;
}

.button\:full,
.ok\:full {
    width: 100%;
}

.Eban-buttons {
    display: inline-block;
    order: 1;
}

.Eban-buttons button {
    margin-top: 10px;
    display: block;
    width: 170px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    font-family: inherit;
}

.Eban-form-button {
    width: 100%;
    margin-bottom: 10px;
    margin-top: 20px;
}

/* ================================================== */
/* TABLES                                            */
/* ================================================== */

.table {
    width: 100%;
    height: 100%;
}

.table table {
    width: 100%;
    border-spacing: 0;
}

.table table thead {
    text-align: left;
    background-color: var(--button-primary);
    font-weight: bold;
    color: #fff;
}

.table table thead th {
    padding: 5px;
}

.table table thead th:first-child {
    border-top-left-radius: 5px;
}

.table table thead th:last-child {
    border-top-right-radius: 5px;
}

.table table tbody {
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.table table tbody td {
    padding: 10px;
    color: var(--theme-text);
}

.table_hide > td {
    padding: 0 !important;
}

/* ================================================== */
/* TABLE ROWS - SMOOTH HOVER ANIMATIONS              */
/* ================================================== */

.row-expired,
.row-active,
.row-permanent {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.row-expired .row-length {
    color: rgba(var(--color-expired));
    background-color: rgba(var(--color-expired), 0.1);
    transition: all 0.3s ease;
}

.row-expired:hover {
    background-color: rgba(var(--color-expired), 0.25);
}

.row-permanent .row-length {
    color: rgba(var(--color-permanent));
    background-color: rgba(var(--color-permanent), 0.1);
    transition: all 0.3s ease;
}

.row-permanent:hover {
    background-color: rgba(var(--color-permanent), 0.25);
}

.row-active .row-length {
    color: rgba(var(--color-active));
    background-color: rgba(var(--color-active), 0.1);
    transition: all 0.3s ease;
}

.row-active:hover {
    background-color: rgba(var(--color-active), 0.25);
}

.row-expired:active,
.row-active:active,
.row-permanent:active {
    background-color: rgba(96, 165, 250, 0.3);
    transition: background-color 0.1s ease;
}

.row-block {
    display: none;
    width: 100%;
    height: auto;
    justify-content: space-between;
}

/* ================================================== */
/* EBAN DETAILS                                      */
/* ================================================== */

.Eban_details {
    margin-top: 5px;
    margin-left: 10px;
    list-style: none;
    flex: 1;
    order: 2;
}

.Eban_details li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 0;
    flex: 0 1 100%;
    overflow: hidden;
}

.Eban_details li > span {
    display: block;
}

.Eban_details li > span:first-child {
    color: white;
    flex: 0 0 200px;
}

.Eban_details li > span:last-child {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
}

.Eban_details li > span:last-child > span {
    flex: 0 1 99%;
}

/* ================================================== */
/* FORMS                                             */
/* ================================================== */

form {
    width: 100%;
    height: 100%;
}

.Eban-form {
    background-color: var(--theme-background);
    margin-top: 50px;
    margin-bottom: 20px;
    margin-left: 30%;
    width: 40%;
    height: 90%;
    display: block;
    border-radius: 7px;
    align-items: center;
}

.Eban-form .header {
    background-color: var(--button-primary);
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.Eban-form .header p {
    margin-left: 5px;
    color: var(--theme-text);
    font-weight: bold;
    font-size: 22px;
}

.Eban-form .border {
    margin-top: 6px;
    width: 100%;
    height: 4px;
    background-color: var(--theme-area-background);
}

.Eban-form .input-group {
    margin-top: 20px;
    display: block;
    width: 80%;
    margin-left: 10%;
    height: auto;
}

.Eban-form label {
    color: var(--theme-text-light);
    font-weight: bold;
    font-size: 15px;
    display: block;
}

form[action="index.php"] p {
    transition: color 0.2s ease;
    color: var(--link-primary);
    text-decoration: none;
}

form[action="index.php"] p:hover {
    text-decoration: underline;
}

input[disabled] {
    background-color: var(--theme-background);
    opacity: 1;
    color: var(--input-disabled);
    border: none;
}

.Eban-input {
    display: block;
    height: 35px;
    width: 100%;
}

.add-select {
    height: 35px;
    width: 300px;
}

.edit-select {
    height: 35px;
    width: 100px;
    display: inline-block;
}

.select {
    border: 2px solid var(--input-border);
    border-radius: 4px;
    font-size: 15px;
    padding: 5px;
    color: var(--theme-text);
    background-color: var(--theme-area-background);
}

.select:focus,
.select:hover {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 15px var(--input-focus);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.error {
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

.error p {
    text-align: center;
    color: red;
    font-size: 15px;
    font-weight: bold;
}

/* ================================================== */
/* SEARCH MODAL                                      */
/* ================================================== */

.search-modal-body {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease 0s;
}

.search-modal {
    overflow: hidden;
    margin: 10% auto;
    width: 40%;
    height: 275px;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
    animation: modalopen 1s;
    background-color: var(--theme-area-background);
}

.search-modal .header {
    width: 100%;
    height: 15%;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--button-primary);
}

.search-modal .input-group {
    margin-top: 20px;
    display: block;
    width: 80%;
    height: auto;
    margin-left: 10%;
}

.search-modal .header p {
    order: 1;
    margin-left: 2.5%;
    font-size: 20px;
    font-weight: bold;
    color: var(--theme-text);
}

.search-modal .search-modal-btn-close {
    order: 2;
    margin-right: 2.5%;
    cursor: pointer;
    transition: all 0.5s ease 0s;
}

.search-modal .search-modal-btn-close:hover {
    color: var(--button-important);
}

.search-modal-input {
    display: block;
    height: 35px;
    width: 100%;
}

.search-modal label {
    display: block;
    color: var(--theme-text-light);
    font-weight: bold;
    font-size: 15px;
}

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

/* ================================================== */
/* ACTION WINDOW                                     */
/* ================================================== */

.Eban-action-window {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 1;
    height: auto;
    width: 30%;
    margin-top: 60px;
    margin-left: 35%;
    overflow: hidden;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
    animation: modalopen 1s;
    background-color: var(--theme-area-background);
    transition: all 0.4s ease 0s;
}

.Eban-action-window .header {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    width: 100%;
    height: 18%;
    background-color: var(--button-primary);
    display: block;
    position: relative;
    text-align: center;
}

.Eban-action-window .header p {
    color: white;
    font-size: 30px;
}

.Eban-action-window .info {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

.Eban-action-window .info .Eban_details span {
    color: white;
    font-weight: bold;
}

.Eban-action-window .info-footer {
    width: 100%;
    height: 30%;
    background-color: var(--theme-area-background);
    display: block;
}

.Eban-action-window .info-footer button {
    float: right;
    margin-right: 10px;
}

/* ================================================== */
/* SCROLLBAR                                         */
/* ================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--theme-area-background);
}

::-webkit-scrollbar-thumb {
    background: var(--button-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--button-primary-hover);
}

/* ================================================== */
/* SOCIAL ICONS                                      */
/* ================================================== */

#steam_group {
    padding: 5px;
    border-radius: 50px;
    background-color: #1b2838 !important;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

#steam_group i {
    margin-left: 5px;
}

#steam_group:hover {
    opacity: 0.8;
}

#discord {
    margin-left: 10px;
    border-radius: 50px;
    padding: 5px;
    background-color: #7289da !important;
    color: white;
    font-size: 20px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease 0s;
}

#discord:hover {
    opacity: 0.8;
}

/* ================================================== */
/* UTILITY CLASSES - FLEX                            */
/* ================================================== */

.flex {
    display: flex;
    justify-content: space-evenly;
}

.flex-jc\:left {
    justify-content: left;
}

.flex-jc\:center {
    justify-content: center;
}

.flex-jc\:right {
    justify-content: right;
}

.flex-jc\:space-between {
    justify-content: space-between;
}

.flex-jc\:end {
    justify-content: flex-end;
}

.flex-jc\:start {
    justify-content: flex-start;
}

.flex-ai\:center {
    align-items: center;
}

.flex-ai\:start {
    align-items: flex-start;
}

.flex-ai\:end {
    align-items: flex-end;
}

.flex-fd\:column {
    flex-direction: column;
}

.flex-wrap\:wrap {
    flex-wrap: wrap;
}

.flex\:11 {
    flex: 1;
    width: 100%;
}

/* ================================================== */
/* UTILITY CLASSES - TEXT & MISC                     */
/* ================================================== */

div span.left,
div span.right {
    display: inline-block;
    width: 50%;
}

span.left {
    float: left;
}

span.right {
    float: right;
    text-align: right;
}

.text\:center {
    text-align: center;
}

.text\:left {
    text-align: left;
}

.text\:right {
    text-align: right;
}

.text\:italic {
    font-style: italic;
}

.text\:bold {
    font-weight: bold;
}

.location .arrow {
    font-size: 14px;
}
.header2 .logo img {
    height: 65px;
    width: auto;
}