:root {
    /* Base font size */
    font-size: 16px;

    /* Brand Colors */
    --primary-brand-color-rgb: 114, 124, 245;
    --secondary-brand-color-rgb: 105, 115, 227;
    --primary-brand-color: rgb(var(--primary-brand-color-rgb));
    --secondary-brand-color: rgb(var(--secondary-brand-color-rgb));

    /* Text Colors */
    --primary-text-color: rgb(108, 117, 125);
    --secondary-text-color: rgb(66, 64, 75);
    --google-text-color: var(--primary-text-color);

    /* Navigation Colors */
    --active-nav-color: rgb(var(--primary-brand-color-rgb));
    --top-nav-bg: rgb(255, 255, 255);
    --side-nav-bg: rgb(255, 255, 255);

    /* Background Colors */
    --body-bg: rgb(250, 251, 254);
    --card-bg: rgb(255, 255, 255);
    --input-bg: rgb(240, 243, 248);
    --border-color: rgb(223, 223, 223);
    --google-btn-bg: rgb(255, 255, 255);
    --google-btn-hover-bg: rgb(244, 245, 255);

    /* Status Colors */
    --danger-color-rgb: 250, 92, 124;
    --danger-color-hover-rgb: 196, 49, 79;
    --success-color-rgb: 10, 207, 151;
    --danger-color: rgb(var(--danger-color-rgb));
    --danger-hover-color: rgb(var(--danger-color-hover-rgb));
    --success-color: rgb(var(--success-color-rgb));

    /* Layout Dimensions */
    --top-nav-height: 70px;
    --side-nav-width: 240px;
    --footer-height: 50px;
    --section-title-height: 30px;

    --box-shadow: 0px 0px 35px 0px rgba(154, 161, 171, .15);
}

[data-theme="dark"] {
    /* Text Colors */
    --primary-text-color: rgb(170, 184, 197);
    --secondary-text-color: rgb(131, 145, 162);
    --google-text-color: rgb(255, 255, 255);

    /* Navigation Colors */
    --active-nav-color: rgb(255, 255, 255);
    --top-nav-bg: rgb(58, 68, 78);
    --side-nav-bg: rgb(58, 68, 78);

    /* Background Colors */
    --body-bg: rgb(52, 58, 64);
    --card-bg: rgb(58, 68, 78);
    --input-bg: rgb(70, 83, 100);
    --border-color: rgb(86, 102, 121);
    --google-btn-bg: var(--input-bg);
    --google-btn-hover-bg: var(--body-bg);

    --box-shadow: 0px 0px 35px 0px rgba(49, 57, 66, .5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    font-family: "Montserrat", serif;
}

body {
    height: 100vh;
    width: 100%;
    color: var(--primary-text-color);
    background-color: var(--body-bg);
    overflow-x: hidden;
    display: flex;
}

a {
    cursor: pointer;
}

ul {
    display: flex;
    gap: inherit;
    align-items: center;
    list-style: none;
}

input {
    display: block;
    background-color: var(--input-bg);
    font-size: .9rem;
    padding: .7rem .9rem;
    outline: none;
    border: none;
    border-radius: .25rem;
}

input[type="checkbox"] {
    display: inline-block;
    cursor: pointer;
}

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

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-container {
    display: flex;
    gap: .5rem;
}

.btn-container .danger-btn {
    margin-left: auto;
}

.btn,
.danger-btn {
    border: none;
    font-size: .9rem;
    padding: .7rem .9rem;
    border-radius: .25rem;
    background-color: var(--primary-brand-color);
    color: rgb(255, 255, 255);
    cursor: pointer;
    text-align: center;
    text-transform: capitalize;
    transition: background-color .1s ease;
}

.danger-btn {
    background-color: var(--danger-color);
}

.danger-btn:hover {
    background-color: var(--danger-hover-color);
}

.btn img {
    width: 20px;
    height: 20px;
}

.google-btn {
    color: var(--google-text-color);
    width: 100%;
    margin: 1rem 0;
    background-color: var(--google-btn-bg);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.btn:hover,
input[type="submit"]:hover {
    background-color: var(--secondary-brand-color);
}

.google-btn:hover {
    background-color: var(--google-btn-hover-bg);
}

.hidden {
    display: none !important;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: capitalize;
    color: var(--secondary-text-color);
}
  
.logo::before {
    content: "";
    display: inline-block;
    width: 2.5rem;
    height: 2rem;
    mask: url("./images/logo.svg") no-repeat center;
    -webkit-mask: url("./images/logo.svg") no-repeat center;
    background-color: var(--primary-brand-color);
    vertical-align: middle;
    margin-right: .5rem;
}

#side-nav {
    width: var(--side-nav-width);
    height: 100%;
    background-color: var(--side-nav-bg);
    white-space: nowrap;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    font-size: .9rem;
    flex-shrink: 0;
    transition: width .5s ease-in-out;
}

#side-nav ul {
    flex-direction: column;
    padding: 15px 10px;
    align-items: stretch;
    text-transform: capitalize;
    height: calc(100% - var(--top-nav-height));
    overflow-y: auto;
}

#side-nav label {
    letter-spacing: .05rem;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 10px;
}

#side-nav li {
    font-weight: 500;
    padding: 15px 10px;
}

#side-nav li a {
    display: block;
}

#side-nav li i {
    font-size: 1.3rem;
    vertical-align: middle;
}

#side-nav li span {
    margin-left: 1rem;
    vertical-align: bottom;
}

#side-nav .active,
#side-nav li:hover {
    color: var(--active-nav-color);
}

#nav-logo {
    display: grid;
    width: 100%;
    height: var(--top-nav-height);
    place-content: center;
    box-shadow: var(--box-shadow);
}

#app-sections {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

main {
    width: 100%;
    height: 100%;
    overflow: auto;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .9rem;
    height: var(--footer-height);
    text-transform: capitalize;
    border-top: 1px solid var(--border-color);
}

#top-nav {
    width: 100%;
    height: var(--top-nav-height);
    background-color: var(--top-nav-bg);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-left: 1.5rem;
}

.top-nav-icon-btn {
    font-size: 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
}

#search-box {
    display: inline-flex;
    position: relative;
    margin-right: auto;
}

#search-box > i {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    left: 10px;
    font-size: 1.2rem;
    pointer-events: none;
}

#search-box > #nav-search {
    padding-left: 40px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#search-box > #nav-search-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.nav-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: var(--top-nav-height);
    background-color: var(--body-bg);
    padding: 0 1rem;
    text-transform: capitalize;
    justify-content: space-evenly;
    min-width: 12rem;
}

.nav-profile img{
    width: 2.6rem;
    height: 2.6rem;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    flex-shrink: 0;
}

section {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    width: 100%;
    min-height: calc(100% - var(--footer-height));
}

.auth-section {
    display: grid;
    place-content: center;
}

.container {
    width: 24vw !important;
    min-width: 360px;
    font-size: 1rem;
    text-align: center;
}

.container p {
    text-transform: lowercase;
    font-size: .9rem;
}

.container .logo {
    font-size: 2rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.container-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-transform: capitalize;
    padding: 1rem 2rem;
    gap: 1rem;
}

.container-form {
    padding: 0 1rem;
    text-align: start;
}

.container-form label {
    display: block;
    margin: 1rem 0;
    cursor: pointer;
    text-transform: capitalize;
}

.container-form label > span {
    color: var(--secondary-text-color);
}

.container-form > input {
    width: 100%;
    margin: 1rem 0;
}
.container-form > input:not([type="submit"]) {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    gap: 2%;
    font-size: .9rem;
}

.form-options label {
    display: inline;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--border-color);
    margin: 0 .5rem;
}

.dash-section {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, max-content);
    text-transform: capitalize;
    gap: 1rem;
    overflow: auto;
}

.card-title,
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-column: 1 / -1;
}

.section-title button {
    font-size: 1.3rem;
    padding: 0.3rem .5rem;
}

.cards-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.card,
.user-card {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: .25rem;
    background-color: var(--card-bg);
    box-shadow: var(--box-shadow);
}

.form-status {
    display: none;
    width: 100%;
    padding: .7rem .9rem;
    margin: 1rem 0;
    border-radius: .25rem;
    box-shadow: var(--box-shadow);
    color: white !important;
    font-weight: 500;
    text-align: center;
    text-transform: capitalize !important;
}

.form-status.success {
    display: block;
    background-color: var(--success-color) !important;
}

.form-status.failure {
    display: block;
    background-color: var(--danger-color) !important;
}

.card-title {
    padding-bottom: 1rem;
}

.card-icon {
    font-size: 1.3rem;
    padding: 0.4rem .6rem;
    border-radius: .25rem;
    background-color: rgba(var(--primary-brand-color-rgb), .25);
    color: var(--primary-brand-color);
}

.failure-icon {
    background-color: rgba(var(--danger-color-rgb), .25);
    color: var(--danger-color);
}

.card-value {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: var(--secondary-text-color);
    font-size: 3rem;
    font-weight: 400;
}

.card-value-extra {
    display: flex;
    gap: .5rem;
}

.card-value-extra > div {
    display: flex;
    align-items: center;
    color: var(--success-color);
    font-weight: 500;
}

.activity-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.activity-list li {
    width: 100%;
    display: flex;
    align-items: center;
    gap: inherit;
}

.activity-list li .activity-time {
    margin-left: auto;
    text-wrap: nowrap;
}

.activity-list .leaderboard a {
    display: flex;
    align-items: center;
    gap: inherit;
    width: 100%;
}

.activity-list .leaderboard a img {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 50%;
}

.activity-list .leaderboard a .card-icon {
    font-size: 1rem;
    width: 3rem;
    text-align: center;
    font-weight: 700;
}

#dashboard #website-stats {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
    grid-column: 1 / 6;
}

#dashboard #website-chart {
    grid-column: 6 / -1;
}

#dashboard #website-activity {
    grid-column: 1 / 10;
}

#dashboard #website-leaderboard {
    grid-column: 10 / 13;
}

.users-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    grid-column: 1 / -1;
}

.user-card {
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.user-card .card-title {
    flex-direction: column;
    padding-bottom: 0;
    gap: inherit;
    font-size: 1.2rem;
    text-align: center;
}

.user-card .card-title img {
    width: 6rem;
    height: 6rem;
    border-radius: .25rem;
}

.user-card .card-title .user-status {
    font-size: .8rem;
}

.user-online::after,
.user-offline::after {
    font-style: normal;
    text-transform: lowercase;
    text-decoration: underline;
}

.user-online::after {
    content: "online";
    color: var(--success-color);
}

.user-offline::after {
    content: "offline";
    color: var(--danger-color);
}

#search {
    gap: 0;
}

#search .users-list {
    margin-top: 1rem;
    grid-template-rows: var(--section-title-height);
}

#results-count {
    font-size: 1.3rem;
    grid-column: 1 / -1;
}

#results-count > span {
    font-size: 1.6rem;
    color: var(--primary-brand-color);
}

#error .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

#error h2 {
    font-size: 6rem;
    font-weight: 400;
    color: var(--primary-brand-color);
}

#error h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    text-decoration: underline;
    color: var(--danger-color);
}

#error .btn {
    margin: auto;
}

#profile #user-data {
    grid-column: 1 / 7;
}

#profile #winning-chart {
    grid-column: 7 / -1;
}

#profile #user-general-stats {
    grid-column: 1 / 4;
    flex-direction: column;
}

#profile #user-games-history {
    grid-column: 4 / -1;
}

#profile #user-data figure {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem;
}

#profile #user-data figure figcaption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    text-align: start;
    width: 50%;
}

#profile [data-user-img] {
    width: 14rem;
    height: 14rem;
    border-radius: 1.25rem;
}


#profile [data-user-name] {
    font-size: 1.8rem;
    font-weight: 700;
}

#profile figure figcaption p {
    font-size: 1rem;
    font-weight: 600;
}

#profile figure figcaption p span {
    font-weight: normal;
    text-transform: lowercase;
}

#chat {
    grid-template-rows: max-content 1fr;
    height: calc(100vh - var(--top-nav-height) - var(--footer-height));
}

#chat .cards-container,
#chat .card {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

#chat #chat-list {
    grid-column: 1 / 4;
}

#chat #chat-box {
    grid-column: 4 / 10;
}

#chat #chat-info {
    grid-column: 10 / -1;
}

.chat-list {
    flex-direction: column;
    overflow-y: scroll;
}

.chat-item {
    width: 100%;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: background-color .2s ease;
}

.chat-item:hover,
.chat-item.active {
    background-color: rgba(var(--primary-brand-color-rgb), 0.1);
}

.chat-item a {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    padding: .75rem;
}

#chat img {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    flex-shrink: 0%;
}

.chat-item .info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}

.notification {
    display: flex;
    align-items: center;
    justify-content: center;
    width: .8rem;
    height: .8rem;
    font-size: .7rem;
    background-color: var(--secondary-brand-color);
    border-radius: 50%;
    color: #fff;
}

.chat-item .info h5 {
    color: var(--secondary-text-color);
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
}

.chat-item .info p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .8rem;
    width: 75%;
}

#chat-box .card-title {
    justify-content: flex-start;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

[data-chat-partner-name] {
    font-size: 1rem;
    display: inline-block;
}
[data-chat-partner-status] {
    font-size: .9rem;
    vertical-align: top;
}

.chat-actions {
    margin-left: auto;
}

.chat-actions .btn {
    font-size: 1.2rem;
    padding: .3rem .5rem;
}

.chat-messages {
    height: 100%;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: .25rem;
    background-color: var(--input-bg);
    flex-direction: column-reverse;
    gap: 1rem;
    overflow-y: scroll;
}

.chat-messages .message {
    max-width: 70%;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    text-transform: none;
}

.message.sent {
    color: #fff;
    align-self: flex-end;
    border-top-right-radius: 0;
    background-color: var(--primary-brand-color);
    text-align: right;
}

.message.receive {
    align-self: flex-start;
    border-top-left-radius: 0;
    background-color: var(--card-bg);
    text-align: left;
}

.message span {
    font-size: .7rem;
    margin-top: .3rem;
    opacity: .8;
}

.chat-input {
    display: flex;
    gap: .5rem;
    width: 100%;
}

#message-input {
    width: 100%;
    padding: .9rem;
}

#send-message {
    padding: .7rem 1rem;
    font-size: 1.2rem;
}

.partner-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    overflow-y: scroll;
    height: 100%;
}

.partner-info img {
    width: 10rem !important;
    height: 10rem !important;
}

.partner-info [data-chat-partner-name] {
    font-size: 1.2rem;
    margin-bottom: -.2rem;
}

.partner-stats {
    width: 100%;
    gap: 1rem;
    flex-direction: column;
    text-transform: lowercase;
}

.partner-stats li {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--secondary-text-color);
    padding-bottom: .2rem;
    border-bottom: 1px solid var(--border-color);
}

.partner-stats li span {
    color: var(--primary-text-color);
    font-weight: normal;
}

.partner-info .btn-container {
    width: 100%;
    flex-direction: column;
    margin: auto;
}

.partner-info .btn-container .danger-btn {
    margin: 0;
}

#notification-btn {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 1px;
    right: 0;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background-color: var(--primary-brand-color);
}

.notification-dropdown {
    z-index: 9999;
    position: absolute;
    top: calc(var(--top-nav-height) / 2);
    right: 0;
    width: 22rem;
    border-radius: .25rem;
    box-shadow: var(--box-shadow);
    background-color: var(--card-bg);
    overflow: hidden;
    transform-origin: top right;
    transform: scale(0);
    transition: transform 0.2s ease;
    font-size: 1rem;
}

.notification-dropdown.active {
    transform: scale(1);
}

.notification-dropdown h4 {
    font-size: 1rem;
    color: var(--secondary-text-color);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.notification-list {
    flex-direction: column-reverse;
    max-height: 26rem;
    overflow-y: auto;
}

.notification-item {
    width: 100%;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: background-color .2s ease;
}

.notification-item:hover {
    background-color: rgba(var(--primary-brand-color-rgb), 0.1);
}

.notification-item a {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: .75rem 1rem;
}

.notification-icon {
    font-size: 1.2rem;
    margin-top: 0.2rem;
    color: var(--primary-brand-color);
}

.notification-message {
    flex: 1;
    font-size: .9rem;
}

.notification-message strong {
    color: var(--secondary-text-color);
}

#settings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#picture-prev {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

#picture-prev [data-user-img] {
    width: 10rem;
    height: 10rem;
    border-radius: 1.25rem;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0%;
}

#picture-prev > div {
    width: 40%;
}

#picture-prev > div button {
    width: 100%;
}

#sessions-settings,
#blocked-settings {
    max-height: 400px;
}

#sessions-settings .card,
#blocked-settings .card {
    height: 100%;
    gap: 1rem;
}

#sessions-list,
#blocked-list {
    flex-direction: column;
    overflow-y: scroll;
    gap: .2rem;
}

.sessions-item,
.blocked-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--input-bg);
    padding: .7rem .9rem;
}

.sessions-item > label {
    font-size: .9rem;
    color: rgb(255, 255, 255);
    padding: .2rem .5rem;
    border-radius: .25rem;
    background-color: var(--success-color);
}

.blocked-item {
    justify-content: flex-start;
    gap: 1rem;
}

.blocked-item img {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.blocked-item button {
    margin-left: auto;
}

.enabled::after,
.disabled::after {
    font-style: normal;
    font-weight: 600;
    text-transform: capitalize;
    text-decoration: underline;
}

.enabled::after {
    content: "Enabled";
    color: var(--success-color);
}

.disabled::after {
    content: "Disabled";
    color: var(--danger-color);
}

#twofa-settings-form input {
    width: 100%;
    text-align: center;
}

#twofa-enable-section {
    padding: 1rem 0;
}

.settings-methods {
    display: flex;
    gap: 1rem;
}

.settings-methods label {
    flex: 1;
}

.method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.method-card .card-icon {
    font-size: 2rem;
    background-color: transparent;
}

.settings-methods input:checked + .method-card {
    border-color: var(--primary-brand-color);
    background-color: rgba(var(--primary-brand-color-rgb), 0.1);
}

#twofa-qrcode-section {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 1.5rem 0;
}

#twofa-qrcode {
    width: 13rem;
    height: 13rem;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--border-color);
}

#twofa-qrcode-section > div {
    width: 50%;
    text-align: center;
}

.twofa-secret-code {
    font-family: monospace;
    font-size: 1.2rem;
    letter-spacing: 0.12rem;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    margin: 0.5rem 0;
}

#form-settings-action {
    width: 100%;
}

#privacy-settings .card-value {
    font-size: 1rem;
    text-align: center;
    gap: 1rem;
    color: var(--danger-color);
}

#match-maker {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, max-content);
}

.game-modes {
    display: flex;
    gap: 1rem;
    padding: 1.2rem 0;
}

.game-modes .btn {
    flex: 1;
    font-size: 1.2rem;
    padding: 1rem;
}

#player-setup-form > input {
    width: 100%;
}

#player-inputs {
    gap: 1rem;
    height: fit-content;
    padding: 1rem 0;
}

#player-inputs div {
    display: flex;
    gap: 1rem;
    justify-content: space-evenly;
}

#player-inputs input {
    flex: 1;
}

#tournament-bracket {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--input-bg);
    border-radius: 0.25rem;
}

.bracket-stage {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 2rem;
}

.bracket-match {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 1rem;
    background-color: var(--card-bg);
    border-radius: 0.25rem;
}

.bracket-match.active {
    background-color: rgba(var(--primary-brand-color-rgb), 0.2);
    border: 1px solid var(--primary-brand-color);
}

.bracket-match.winner {
    background-color: rgba(var(--success-color-rgb), 0.2);
    border: 1px solid var(--success-color);
}

.player {
    min-width: 100px;
    text-align: center;
}

.vs {
    font-weight: bold;
    color: var(--secondary-text-color);
}

#current-match {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#players-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.player-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: var(--input-bg);
    border-radius: 0.25rem;
    min-width: 150px;
}

.player-card h3 {
    margin: 0;
    color: var(--secondary-text-color);
}

.player-card .score {
    font-size: 2rem;
    font-weight: bold;
}

#game-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#game-result h2 {
    font-size: 2rem;
    color: var(--secondary-text-color);
    text-align: center;
}

#ping-pong {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

#ping-pong canvas {
    box-shadow: var(--box-shadow);
    border-radius: .3rem;
    border: 1px solid var(--border-color);
}

#rock-paper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.rps-game-area {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
}

.rps-player-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.rps-player-area h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-text-color);
}

.rps-player-area button {
    font-size: 2rem;
    padding: 1rem;
    margin: 0 .5rem;
    border-radius: .4rem;
    background-color: var(--input-bg);
}

#rps-result {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 800px;
    color: var(--primary-brand-color);
    background-color: rgba(var(--primary-brand-color-rgb), 0.2);
    border: 2px solid var(--primary-brand-color);
}

.rps-vs {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-text-color);
    padding: 0 2rem;
}