/* ================================================ */
/* ================================================ */
/* Global */
/* ================================================ */
/* ================================================ */

* {
    font-family: 'Ubuntu', sans-serif;
    box-sizing: border-box;
    margin: 0;
    color: #222222;
    font-size: 18px;
}

html {
    background-color: #333333;
}

main {
    padding: 4%;
}

h6,
h5,
h4,
h3,
h2,
h1,
th {
    font-family: 'Bungee', sans-serif;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

h5,
th {
    font-size: 20px;
}

h6 {
    font-size: 16px;
}

.title {
    font-size: 36px;
    color: #ffffff;
}

button,
.btn {
    color: #222222;
    background-color: #f2c94c;
    border: none;
    border-radius: 10px;
    padding: 15px 50px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    width: fit-content;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    transition: all ease-in-out .2s
}

a {
    color: #f2c94c;
    text-decoration: none;
    cursor: pointer;
}

.button-icon,
.delete-btn {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    border: none;
    outline: none;
    display: block;
    cursor: pointer;
    transition: all ease-in-out .2s
}

.btn:hover,
button:hover,
.button-icon:hover {
    transform: scale(1.1);
}

.delete-btn {
    background-color: red;
    color: white;
    padding: 5px 10px;
}

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

::-webkit-scrollbar-track {
    background-color: #222222;
}

::-webkit-scrollbar-thumb {
    background: #f2c94c;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #efbb1c;
}

.error {
    color: red !important;
    text-align: center !important;
    font-size: 18px;
    padding: 15px 0;
}

.delete:hover {
    color: red;
}

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

.hide {
    display: none !important;
}

.primary-color {
    color: #222222;
}

.no-shadow {
    box-shadow: none;
}

.center {
    margin: auto;
}

.spread {
    grid-column: 1 / -1;
    margin: auto;
}

.top-btn-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px;
}

.top-btn-container button {
    width: 100%;
}

.approval-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 10px;
}

.approval-container button {
    background-color: green;
    color: #fafafa;
    font-size: 14px;
}

.approval-container button+button {
    background-color: red;
}

/* ================================================ */
/* ================================================ */
/* Spacer */
/* ================================================ */
/* ================================================ */

.space-y {
    margin: 30px auto;
}

.space-x {
    margin: auto 30px;
}

.space-top {
    margin-top: 30px;
}

.space-bottom {
    margin-bottom: 30px;
}

.space-right {
    margin-right: 30px;
}

.space-left {
    margin-left: 30px;
}

/* ================================================ */
/* ================================================ */
/* Header/Nav */
/* ================================================ */
/* ================================================ */

header {
    padding: 10px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #222222;
}

.header-logo {
    max-width: 175px;
}

nav {
    display: flex;
}

.hamburger {
    font-size: 32px;
    color: #f2c94c;
    transition: all ease-in-out .2s
}

.hamburger:hover {
    transform: scale(1.2);
    color: #efbb1c;
}

#main-nav {
    position: absolute;
    top: 0;
    right: 0;
    text-align: end;
    background-color: #222222df;
    display: flex;
    flex-direction: column;
    margin-top: 75px;
    min-width: 30%;
    height: 100%;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

#main-nav a {
    font-size: 24px;
    color: #fafafa;
    padding: 15px 30px;
    border-bottom: 1px solid #333333;
}

#main-nav a:hover {
    background-color: #f2c94c;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    color: #222222;
}

#main-nav a:last-of-type {
    border: none;
    margin-top: auto;
    padding-bottom: 105px;
}




@media (max-width: 1000px) {
    #main-nav {
        width: 100%;
    }
}

/* ================================================ */
/* ================================================ */
/* Box */
/* ================================================ */
/* ================================================ */

.box {
    display: block;
    background-color: #d9d9d9;
    border-radius: 10px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 25px;
}

.dark-box {
    background-color: #222222;
    margin: 50px auto;
    border-radius: 10px;
    padding: 40px 50px 40px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.dark-box h1,
.dialog h1,
.dark-box h2,
.dialog h2,
.dark-box h3,
.dialog h3,
.dark-box h4,
.dialog h4,
.dark-box h5,
.dialog h5,
.dark-box h6,
.dialog h6 {
    font-size: 19px;
    text-align: center;
    color: #ffffff;
    padding-bottom: 40px;
}

.dark-box p,
.dialog p,
.dark-box label,
.dialog label {
    color: #ffffff;
}

.dark-box p {
    text-align: center;
}

.dark-box button,
.dialog button {
    margin: 40px auto auto;
}

.notification-box {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: #efbb1c;
    color: #222222;
    padding: 15px;
    margin: 0 0 30px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.notification-box .button-icon {
    align-self: flex-end;
}

.notification-box h4 {
    font-family: 'Ubuntu', sans-serif;
}

.text-box {
    max-width: 500px;
    padding: 15px;
    margin: auto;
}

.text-box ul {
    padding-left: 20px;
}

.text-box li {
    padding: 5px 0;
}

/* ================================================ */
/* ================================================ */
/* Form */
/* ================================================ */
/* ================================================ */


input {
    font-size: 16px;
    padding: 5px;
    border-radius: 5px;
    background-color: #fafafa;
    display: block;
    border-color: transparent;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    margin: 7px 0 20px 0;
    width: 100%;
    height: 41px;
    border-width: 2px;
}

textarea {
    margin: 7px 0 20px 0;
    border-width: 2px;
}

input:focus {
    outline: none;
    border: 2px solid #f2c94c;
}

input[type="radio"],
input[type="checkbox"] {
    background-color: #fafafa;
    accent-color: #f2c94c;
    height: 25px;
    width: 25px;
    border-color: transparent;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

select {
    background-color: #fafafa;
    border-radius: 5px;
    padding: 5px;
    border-color: transparent;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    border-width: 2px;
    display: block;
    width: 100%;
    height: 41px;
    margin: 7px 0 20px 0;
}

select:focus {
    outline: none;
    border: 2px solid #f2c94c;
    background-color: #fafafa;
}

textarea {
    background-color: #fafafa;
    font-size: 16px;
    width: 100%;
    border-radius: 5px;
    min-height: 80px;
    border-color: transparent;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

textarea:focus {
    outline: none;
    border: 2px solid #f2c94c;
    background-color: #fafafa;
}

.label-help-text {
    color: #cccccc;
    font-size: 12px;
    margin-left: 5px;
    font-style: italic;
}


/* ================================================ */
/* ================================================ */
/* Pop up */
/* ================================================ */
/* ================================================ */


dialog::backdrop {
    background: rgba(5, 10, 48, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

dialog {
    outline: none;
    border: none;
    background-color: #222222;
    margin: 50px auto;
    border-radius: 10px;
    padding: 40px 50px 40px;
    width: fit-content;
    max-width: 400px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    overflow: auto;
}

dialog h2,
dialog button {
    text-align: center;
    margin: auto;
}

.dialog-close {
    background: none;
    border: none;
    outline: none;
    color: #777777;
    box-shadow: none;
    padding: 5px;
}


/* ================================================ */
/* ================================================ */
/* Login */
/* ================================================ */
/* ================================================ */


.login-logo {
    max-width: 300px;
    margin-bottom: 50px;
}

.forgot-password {
    text-align: center;
    margin-top: 30px;
}


/* ================================================ */
/* ================================================ */
/* Dashboard */
/* ================================================ */
/* ================================================ */


.dashboard-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 100px;
}

.mobile-dashboard-container {
    display: none;
}

@media screen and (max-width: 1250px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 850px) {
    .dashboard-container {
        display: none;
    }

    .mobile-dashboard-container {
        display: block;
    }

    .mobile-btn-container {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .mobile-btn-container button {
        font-size: 14px;
        padding: 10px 15px;
        border-radius: 5px;

    }

    .mobile-stat-box {
        background-color: #4d4d4d;
        text-align: center;
        padding: 20px 10px;
        margin-bottom: 30px;
    }

    .mobile-stat-box h2 {
        color: #ffffff;
    }

    .mobile-stat-box h1 {
        color: #f2c94c;
        padding: 5px;
    }


    .mobile-card-box {
        overflow-y: auto;
        height: 70vh;
        background-color: #d9d9d9;
        border-radius: 10px;
        padding: 15px;
    }

    .mobile-card-box::-webkit-scrollbar-track {
        background-color: #d9d9d9;
        border-radius: 0 10px 10px 0;
    }

    .mobile-card {
        background-color: #e3e3e3;
        box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        margin: 30px 0;
    }

    .mobile-card h3,
    .mobile-card h4 {
        font-family: 'Ubuntu', sans-serif;
        font-weight: 400;
        font-size: 24px;
    }

    .mobile-card h4 {
        font-size: 14px;
    }

    .mobile-card-text {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px 15px;
        margin: 10px 0 0;
    }

    .mobile-card-text label {
        font-family: 'Bungee', sans-serif;
        text-align: end;
        font-size: 16px;
    }

    .mobile-card-text h5 {
        text-align: left;
        font-family: 'Ubuntu', sans-serif;
        font-weight: 400;
        font-size: 16px;
    }

    .mobile-card-btn {
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 3px;
        margin: 10px auto 0;
        justify-self: end;
    }

    form .mobile-card-btn {
        justify-self: unset;
    }
}

/* ================================================ */
/* ================================================ */
/* Quick links */
/* ================================================ */
/* ================================================ */


.links-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.links-container .box {
    font-family: 'Bungee', sans-serif;
    text-align: center;
    font-size: 36px;
    color: #222222;
    white-space: nowrap;
}


/* ================================================ */
/* ================================================ */
/* Top stats */
/* ================================================ */
/* ================================================ */


.top-stats {
    display: flex;
    gap: 150px;
    margin-bottom: 50px;
}

.top-stats h2 {
    font-size: 24px;
    color: #ffffff;
}

.top-stats h4 {
    font-size: 36px;
    color: #f2c94c;
    margin: 5px 0 0 10px;
}


/* ================================================ */
/* ================================================ */
/* Table */
/* ================================================ */
/* ================================================ */


.tab-container {
    display: flex;
    gap: 5px;
}

.table-tabs {
    display: block;
    font-family: 'Bungee', sans-serif;
    font-size: 16px;
    white-space: nowrap;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    background-color: #d9d9d9;
    color: #222222;
    cursor: default;
    transition: none;
}

.table-tabs:hover {
    transform: scale(1);
}

.inactive-tab:hover {
    background-color: #777777;
}

.inactive-tab {
    color: #f2c94c;
    background-color: #929292;
    cursor: pointer;
}

.table-container .box {
    border-top-left-radius: 0;
    width: 60vw;
    height: 55vh;
    overflow-y: auto;
}

.table-container .box::-webkit-scrollbar-track {
    background-color: #d9d9d9;
    border-radius: 10px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    font-size: 16px;
    padding: 10px 5px;
    border-right: 1px solid #222222;
}

td a {
    font-size: 16px;
    white-space: nowrap;
}

th {
    color: #333333;
    border-bottom: 1px solid #222222;
    text-align: left;
}

th:last-of-type,
td:last-of-type {
    border-right: none;
    border-radius: 0 10px 10px 0;
}

td:first-of-type {
    border-radius: 10px 0 0 10px;
}

tbody tr:nth-of-type(even) {
    background-color: #fafafa;
    border-radius: 10px;
}

.table-btn {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 3px;
    margin: auto;

}

.td-flex {
    display: flex;
    gap: 10px;
    justify-content: space-evenly;
    align-items: center;
}

@media screen and (max-width: 1250px) {
    .table-container .box {
        border-top-left-radius: 0;
        width: 100%;
        height: 55vh;
        overflow-y: auto;
    }
}

/* ================================================ */
/* ================================================ */
/* Profile */
/* ================================================ */
/* ================================================ */


.profile-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.profile-container .dark-box {
    margin: 0;
    width: 100%;
    max-width: 350px;
    height: min-content;
}

.website-image {
    max-width: 300px;
    height: auto;
    margin-bottom: 50px;
}


/* ================================================ */
/* ================================================ */
/* Assets */
/* ================================================ */
/* ================================================ */

.assets-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.asset-card {
    width: 100%;
    margin: 0;
    padding: 15px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.asset-card-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.asset-card-text p {
    font-size: 16px;
    text-align: left;
    padding-bottom: 20px;
    color: #d9d9d9;
}

.asset-card-text .description {
    max-height: 150px;
    margin-bottom: 30px;
    overflow: auto;
}

.asset-card-text h6 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #777777;
    text-align: left;
    padding: 0 0 3px;
}

.asset-card img {
    width: auto;
    max-height: 250px;
    margin: auto;
    margin-bottom: 30px;
}

.asset-creator {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.asset-creator span {
    color: #777777;
}

.asset-card button {
    margin: 0;
}

.asset-card i {
    color: #d9d9d9;
}