@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --nav-h: 70px;
    --nav-gap-top: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

html, body {
    margin: 0;
}

body {
    background: linear-gradient(
            180deg,
            #0565c1 0%,
            #1979d5 25%,
            #2b8ae6 50%,
            #439df4 75%,
            #5babf8 100%
    ) fixed;
    transition: none;
}

a {
    text-decoration: none;
    color: #0565c1;
    font-weight: 500;
}

a,
a:visited,
a:hover,
a:active,
a:focus {
    color: #0565c1;
    text-decoration: none;
    outline: none;
}

#wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.nav-top #wrapper {
    padding-top: calc(var(--nav-h) + var(--nav-gap-top));
    min-height: calc(90vh - (var(--nav-h) + var(--nav-gap-top)));
}

body.nav-scrolled #wrapper {
    padding-top: var(--nav-h);
    min-height: calc(100vh - var(--nav-h));
}

.card {
    background: #ffffff;
    min-width: 10%;
    max-width: 1100px;
    border-radius: 6px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #444;
}

h2, h3 {
    color: #444;
    margin: 20px 0 20px 0;
}

label {
    color: #777;
    padding: 4px 0;
}

input, select {
    padding: 4px 8px 4px 0;
    border-radius: 6px;
    border: 1px solid black;
}

input[type=submit], input[type=button] {
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    background: #cdcbcb;
    color: black;
    font-weight: normal;
}

input[type=submit]:hover, input[type=button]:hover {
    font-weight: bold;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(6px);
}

.navbar .logo img {
    height: 50px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 35px 0;
    color: white;
    font-weight: 500;
    font-size: 14px;
    margin-top: auto;
}

input[type=submit].btn-primary, .btn-primary, .btn-secondary {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    color: #444;
    background-color: #f8c02e;
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 5px 5px 0px #000;
    transition: all 0.3s ease;
    cursor: pointer;
}

input[type=submit].btn-primary:hover, .btn-primary:hover, .btn-secondary:hover {
    background-color: #fff;
    color: #f8c02e;
    border: 2px solid #f8c02e;
    box-shadow: 5px 5px 0px #f8c02e;
}

input[type=submit].btn-primary:active, .btn-primary:active, .btn-secondary:active {
    background-color: #f8c02e;
    box-shadow: none;
    transform: translateY(4px);
}

.btn-secondary {
    color: white !important;
    background-color: red;
}

.btn-secondary:hover {
    color: red !important;
    border: 2px solid red;
    box-shadow: 5px 5px 0px red;
}

.btn-secondary:active {
    background-color: red;
}

.message,
.red {
    position: relative;

    margin: 16px auto 22px;
    padding: 14px 18px;

    max-width: 980px;

    border-radius: 14px;
    border: 1px solid rgba(46, 204, 113, .35);

    background: linear-gradient(
            135deg,
            rgba(46, 204, 113, .12),
            rgba(46, 204, 113, .05)
    );

    color: rgba(0, 0, 0, .88);
    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 10px 26px rgba(46, 204, 113, .18),
    inset 0 1px 0 rgba(255, 255, 255, .6);

    animation: retroMessageIn .35s ease-out both;
}

.message::before,
.red::before {
    content: "✔";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);

    width: 26px;
    height: 26px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 900;

    background: rgba(46, 204, 113, .25);
    color: rgba(0, 0, 0, .85);
}

.message,
.red {
    padding-left: 52px;
}

.message a,
.red a {
    color: rgba(0, 0, 0, .92);
    font-weight: 800;
    text-decoration: underline;
}

.message a:hover,
.red a:hover {
    text-decoration: none;
}

.message.error,
.message.red,
.red {
    border-color: rgba(231, 76, 60, .35);
    background: linear-gradient(
            135deg,
            rgba(231, 76, 60, .12),
            rgba(231, 76, 60, .05)
    );
    box-shadow: 0 10px 26px rgba(231, 76, 60, .18),
    inset 0 1px 0 rgba(255, 255, 255, .6);
}

.message.error::before,
.message.red::before,
.red::before {
    content: "✖";
    background: rgba(231, 76, 60, .25);
}

.message.info,
.info {
    border-color: rgba(52, 152, 219, .35);
    background: linear-gradient(
            135deg,
            rgba(52, 152, 219, .12),
            rgba(52, 152, 219, .05)
    );
    box-shadow: 0 10px 26px rgba(52, 152, 219, .18),
    inset 0 1px 0 rgba(255, 255, 255, .6);
}

.message.info::before,
.info::before {
    content: "ℹ";
    background: rgba(52, 152, 219, .25);
}

.message.warning,
.warning {
    border-color: rgba(241, 196, 15, .45);
    background: linear-gradient(
            135deg,
            rgba(241, 196, 15, .18),
            rgba(241, 196, 15, .08)
    );
}

.message.warning::before,
.warning::before {
    content: "⚠";
    background: rgba(241, 196, 15, .35);
}

.custom-input, .custom-select {
    max-width: 190px;
    padding: 0.875rem;
    font-size: 1rem;

    border: 1.5px solid #000;
    border-radius: 0.5rem;
    box-shadow: 2.5px 3px 0 #000;

    outline: none;
    transition: box-shadow 0.25s ease;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #fff;
}

.custom-input:focus, .custom-select:focus {
    box-shadow: 5.5px 7px 0 #000;
}

.custom-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.content__form {
    display: flex;
    flex-direction: column;
    row-gap: 18px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.content__inputs {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    margin-top: 50px;
    margin-bottom: 25px;
}


.content__or-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: 13px;
    column-gap: 18px;
    margin-top: 18px;
}

.content__or-text span:nth-child(3),
.content__or-text span:nth-child(1) {
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgb(219, 219, 219);
    margin: 25px 0;
}

.custom-checkbox {
    width: 30px;
    height: 30px;
    position: relative;
    top: 0;
    left: 0;
    border: 2px solid #000;
    border-radius: 5px;
    box-shadow: 4px 4px #000;
    background-color: #fff;
    transition: all 0.3s;
}

.container .custom-checkbox:checked ~ .custom-checkbox {
    background-color: #fff;
}

.custom-checkbox:after {
    content: "";
    width: 7px;
    height: 15px;
    position: absolute;
    top: 2px;
    left: 8px;
    display: none;
    border: solid #0565c1;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.container custom-checkbox:checked ~ custom-checkbox:after {
    display: block;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 15px;
    padding: 50px 0;
}

.search-form p {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    margin-bottom: 25px;
}

td, th {
    border: 1px solid #ddd;
    padding: 1px;
    border-radius: 3px;
}

td {
    font-weight: bold;
    text-align: center;
}

.status {
    color: #0565c1;
}

.status-online {
    color: green;
}

.status-offline {
    color: red;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

th, th a, th a:hover, th label {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    background-color: #0565c1;
    color: white;
    text-decoration: none;
    padding-left: 3px;
}

th a, th a:hover {
    background-color: transparent !important;
}

.pages {
    margin-top: 20px;
    padding-top: 10px;
    color: #ccc;
    text-align: center;
    border-top: 1px solid #ddd;
}

.pages .page-prev, .pages .page-next {
    color: #94b4d5;
}

.pages .page-num {
    padding: 0 5px;
}

.pages .current-page {
    color: #000000;
    font-weight: bold;
}

p {
    text-align: justify;
    margin: 10px 0;
}

#submenu {
    display: flex;
    justify-content: center;
    margin: 18px 0 22px;
}

#submenu .submenu-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 0;
    margin: 0;

    background: none;
    border: none;
    box-shadow: none;
}

#submenu a.sub-menu-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 18px;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 500;
    text-decoration: none;

    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.35);

    transition: background 150ms ease,
    color 150ms ease,
    transform 120ms ease,
    box-shadow 120ms ease;
}

#submenu a.sub-menu-item:hover {
    background: rgba(37, 99, 235, 0.18);
    color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

#submenu a.sub-menu-item.current-sub-menu {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}

#submenu a.sub-menu-item.current-sub-menu:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

@media (max-width: 520px) {
    #submenu .submenu-list {
        gap: 8px;
    }

    #submenu a.sub-menu-item {
        padding: 7px 14px;
        font-size: 13px;
    }
}

.register-rules-card {
    margin: 14px 0 16px;
    padding: 14px 14px 10px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(11, 61, 79, .035);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

.register-rules-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.register-rules-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    color: #0b3d4f;
    background: rgba(11, 61, 79, .12);
    border: 1px solid rgba(11, 61, 79, .25);
    flex: 0 0 auto;
}

.register-rules-title {
    font-weight: 900;
    font-size: 14px;
    color: rgba(0, 0, 0, .82);
    margin-top: 2px;
}

.register-rules-subtitle {
    font-size: 13px;
    color: rgba(0, 0, 0, .58);
    margin-top: 3px;
}

.register-rules-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.register-rules-list li {
    position: relative;
    padding: 10px 12px 10px 36px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(0, 0, 0, .08);
    color: rgba(0, 0, 0, .78);
    line-height: 1.35;
}

.register-rules-list li::before {
    /*content: "✓";*/
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
    color: #0b3d4f;
    background: rgba(11, 61, 79, .12);
    border: 1px solid rgba(11, 61, 79, .20);
}

.register-container-gender, .register-container-birthdate {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

@media (max-width: 820px) {
    .register-rules-card {
        padding: 12px;
    }

    .register-rules-list li {
        padding: 10px 12px 10px 34px;
    }
}

.retro-dl {
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 0 30px;
    color: #1f2937;
}

.retro-dl__hero {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    align-items: center;
    margin: 10px 0 18px;
    padding: 14px;

    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: radial-gradient(800px 250px at 15% 0%, rgba(245, 158, 11, 0.14), transparent 60%),
    radial-gradient(900px 300px at 85% 10%, rgba(37, 99, 235, 0.14), transparent 60%),
    rgba(255, 255, 255, 0.86);

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06),
    0 18px 36px rgba(0, 0, 0, 0.10);
}

.retro-dl__crest {
    width: 86px;
    height: 86px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.20), rgba(37, 99, 235, 0.18)),
    rgba(255, 255, 255, 0.7);
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 10px 24px rgba(0, 0, 0, 0.10);
}

.retro-dl__crest-inner {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: 0.02em;
    color: #0f172a;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.65)),
    rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.10);
}

.retro-dl__title {
    margin: 0 0 4px;
    font-size: 26px;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.retro-dl__subtitle {
    margin: 0 0 10px;
    color: #475569;
    line-height: 1.45;
}

.retro-dl__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.retro-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.retro-dl__actions {
    margin-top: 12px;
}

.retro-dl__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
    margin: 14px 0 18px;
}

.retro-card {
    grid-column: span 6;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05),
    0 14px 32px rgba(0, 0, 0, 0.10);
    padding: 14px;
    display: flex;
    flex-direction: column;
}

.retro-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.retro-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 20px;
    background: rgba(37, 99, 235, 0.10);
    border: 1px solid rgba(37, 99, 235, 0.18);
}

.retro-card__tag {
    font-size: 12px;
    font-weight: 900;
    color: #1d4ed8;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.20);
}

.retro-card__title {
    margin: 0 0 6px;
    font-size: 16px;
    color: #0f172a;
}

.retro-card__desc {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
}

.retro-card__bottom {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.retro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.retro-btn--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: 1px solid rgba(29, 78, 216, 0.45);
    box-shadow: 0 10px 22px rgba(29, 78, 216, 0.24);
}

.retro-btn--primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 14px 28px rgba(29, 78, 216, 0.30);
}

.retro-btn--outline {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.24);
}

.retro-btn--outline:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.18);
}

.retro-empty {
    grid-column: span 12;
    border-radius: 16px;
    border: 1px dashed rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.75);
    padding: 16px;
    text-align: center;
    color: #475569;
}

.retro-empty__title {
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 6px;
}

.retro-empty__desc code {
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(15, 23, 42, 0.04);
}

.retro-dl__panel {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.82);
    padding: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.retro-dl__panel-title {
    margin: 0 0 10px;
    color: #0f172a;
}

.retro-steps {
    margin: 0;
    padding-left: 18px;
    color: #334155;
}

.retro-steps li {
    margin: 8px 0;
    line-height: 1.5;
}

.retro-dl__panel code,
.retro-dl__footer code {
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(15, 23, 42, 0.04);
}

.retro-dl__footer {
    margin-top: 14px;
    text-align: left;
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 900px) {
    .retro-card {
        grid-column: span 12;
    }

    .retro-dl__hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .retro-dl__crest {
        margin: 0 auto;
    }

    .retro-dl__quick {
        justify-content: center;
    }

    .retro-card__bottom {
        justify-content: center;
    }
}
