/*|===| COLORS & THEMES |===|*/
:root {
    --background : #040F16;
    --text-para : #FFF9EC;
    --text-title : #FAFAFA;
    --highlight-dark : #041821;
    --highlight-light: #135075;

    --highlight-button : #082f41;
    --input-background : #082f41;
    --link-hover: #196a9c;

    --popup-background: #041821;
    --transparent-overlay: #04182163;
}

/*|===| GENERAL |===|*/
* { padding: 0; margin: 0; }
html { scroll-behavior: smooth; }

body {
    overflow-x: hidden;

    background-color: var(--background);
    color: var(--text-para);

    font-family: "Urbanist", sans-serif;

    font-size: 16px;
}

.work-in-progress {
    width: 100%;
    padding: 10px 0;
    background-color: var(--text-para);
    color: var(--background);
    text-align: center;
    gap: 10px;
    flex-direction: column;
}
.work-in-progress a {
    color: var(--link-hover);
    text-decoration: none;
    font-weight: 600;
}

/*|===[ PLACEMENT ]===|*/
.flex { display: flex; }
.flex__center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.center { 
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*|===[ NOTIFICATION WINDOW ]===|*/
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--highlight-light);
    color: var(--text-para);
    padding: 12px 18px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    font-size: 14px;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.site-wrapper{ 
    width: 100%;
    min-height: calc(100vh - 70px - 80px)
}
.page-content-wrapper {
    width: 100%;
}

/**|===[ FOOTER ]===|*/
footer {
    width: calc(100% - 40px);
    height: calc(80px - 40px);
    padding: 20px;
    background-color: var(--highlight-dark);
    color: var(--text-para);
    text-align: center;
    position: relative;
    bottom: 0;
}

/**|===[ Navigation bar ]===|*/
.navigation-bar { 
    width: 100%;
    height: 70px;

    position: sticky;
    top: 0;
}

.nav-content {
    width: 100%;
    padding: 10px 20px;
    justify-content: space-between;
    background-color: var(--highlight-dark);
}

.nav-logo img { height: 50px; }
.nav-logo-content { 
    display: flex; gap: 15px;
    align-items: center;
}
.nav-logo a {
    color: var(--text-title);
    text-decoration: none;
}
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a {
    color: var(--text-para);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--link-hover); }
@media screen and (max-width: 600px) {
    .nav-content { 
        flex-direction: column; 
        gap: 10px;
        justify-content: center; 
        align-items: center;
    }    
}

/**|===[ LOGIN PAGE ]===|*/
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-container {
    width: 300px;
    height: auto;
    padding: 20px;
    background-color: var(--highlight-dark);
    border-radius: 8px;
    text-align: center;
}

.login-container h2 {
    color: var(--text-title);
    margin-bottom: 20px;
}

.login-container input[type="text"],
.login-container input[type="password"],
.login-container input[type="email"],
.login-container input[type="submit"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    background-color: var(--input-background);
    color: var(--text-para);
}
.login-container input:disabled, .login-container select:disabled, .login-container textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-container select,
.login-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    background-color: var(--input-background);
    color: var(--text-para);
}
.login-container textarea { 
    resize: vertical; 
    width: calc(100% - 20px); 
    min-height: 200px;
}

.add-server-container {
    margin-top: 50px;
    margin-bottom: 50px; 
}
.add-server-container, .add-server-form { 
    width: 100%; 
    max-width: 750px; 
}

.add-server-container hr {
    border: 0;
    height: 1px;
    background-color: var(--highlight-light);
    margin: 20px 0;
}
.add-server-container h3 {
    color: var(--text-title);
    margin-bottom: 15px;
    text-align: left;
}

.login-container button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: var(--highlight-button);
    color: var(--text-para);
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.login-container button:hover {
    background-color: var(--link-hover);
}
.need-account {
    margin-top: 10px;
    font-size: 14px;
}
.need-account a {
    color: var(--link-hover);
    text-decoration: none;
}

/**|===[ ADD SERVER BANNER ]===|*/
.add-server-banner {
    background-image: url('https://res.cloudinary.com/dyz5z5okk/image/upload/v1766048365/img_l6thlx.avif');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 200px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.add-server-banner .asb-background-color {
    width: 100%;
    height: 100%;
    background-color: var(--transparent-overlay);
    flex-direction: column;
    gap: 15px;
    color: var(--text-title);
    text-align: center;
}

.add-server-banner a {
    text-decoration: none;
    color: var(--text-para);
    font-weight: 800;
}
.add-server-banner p {
    width: 300px;
    line-height: 50px;
    background-color: var(--highlight-dark);
    border-radius: 10px;
}

.featured-server-section, .server-list-section, .pagination-wrapper, .about-website { 
    min-width: 300px;
    max-width: 1300px;
    width: 100vw;

    display: block;
    margin-left: auto;
    margin-right: auto;

    margin-top: 50px;
    /* background-color: red; */
}

/**|===[ SERVER LIST ]===|*/
.server-list-wrapper {
    margin-left: 50px;
    margin-right: 50px;
}
.server-list-section h2, .featured-server-section h2 {
    color: var(--text-title);
    margin-bottom: 20px;
    text-align: center;
}
.server-list-section { margin-bottom: 50px; }

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 50px;
}
.pagination-wrapper button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 4px;
    background-color: var(--highlight-button);
    color: var(--text-para);
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.server-list-wrapper table {
    width: 100%;
    border-collapse: collapse;
}
.server-list-wrapper th {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--highlight-light);
    background-color: var(--link-hover);
}
.server-list-wrapper td {
    padding: 12px;
    border-bottom: 1px solid var(--highlight-light);
}
.server-list-wrapper tr:hover {
    background-color: var(--highlight-dark);
}
.server-list-wrapper a {
    color: var(--link-hover);
    text-decoration: none;
}
.slt-server img {
    width: auto;
    height: 75px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.server-ip {
    background-color: var(--highlight-light);
    padding: 4px 8px;
    justify-content: space-between;
}
.server-ip a {
    color: var(--text-para);
}
.server-ip a:hover {
    color: var(--link-hover);
}
.server-clickable { cursor: pointer; }

/** |===[ VIEW SERVER PAGE ]===|*/
.view-server-banner {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 200px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.view-server-banner .asb-background-color {
    width: 100%;
    height: 100%;
    background-color: var(--transparent-overlay);
    flex-direction: column;
    gap: 15px;
    color: var(--text-title);
    text-align: center;
}

.view-server-details {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.vsd-details { width: 300px; }
.vsd-detail-item {
    margin-bottom: 20px;
    width: 100%;
}
.vsd-detail-item h4 {
    color: var(--text-title);
    text-align: center;
    line-height: 30px;
    font-size: 20px;
    background-color: var(--link-hover);
}
.vsd-detail-item p {
    margin-top: 10px;
    text-align: center;
    font-size: 16px;
    line-height: 30px;
}
.vsd-detail-item a {
    display: block;
    text-align: center;
    color: var(--text-para);
    text-decoration: none;
    background-color: var(--highlight-button);
}

.vsd-socials a {
    margin-top: 10px; 
    line-height: 40px;
    background-color: var(--highlight-light);
}
.vsd-socials a:hover {
    background-color: var(--link-hover);
}

.vsd-description {
    width: calc(100% - 300px);
}