﻿/* ======= RESET ======= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f6f8;
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ======= HEADER ======= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 28px;
}

.network-title {
    font-weight: 600;
    font-size: 1rem;
}

/* ======= LANGUAGE ======= */
.nav-wrapper {
    margin-top: 8px;
}

.sl-nav ul {
    list-style: none;
}

.language-dropdown {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ======= MAIN ======= */

.main-container {
    display: flex;
    justify-content: space-between;
    padding: 48px 64px;
    gap: 32px;
    flex-wrap: wrap;
}

/* ======= LOGIN BOX ======= */
.login-box {
    flex: 1 1 360px;
    max-width: 420px;
    background-color: #ffffff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

    .login-box h1 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

.input-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 12px 0 6px;
}

.input-field {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 12px;
}

.login-button {
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    background-color: #0070b0;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    width: 100%;
}

    .login-button:hover {
        background-color: #005d91;
    }

.link {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #0070b0;
    text-decoration: none;
}

.divider {
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

/* ======= IMAGE BOX ======= */
.image-box {
    flex: 1 1 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.laptop-image {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ======= FOOTER ======= */
.footer {
    background-color: #f4f6f8;
    padding: 16px 40px;
    border-top: 1px solid #ddd;
    font-size: 0.85rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 24px;
}

.footer-right {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

    .footer-right a {
        color: #0070b0;
        text-decoration: none;
    }

/* ======= RESPONSIVE ======= */

@media (min-width:577px) and (max-width: 1130px) {

    .main-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 32px;
    }

    .image-box {
        display: none;
        order: -1;
        flex: 1 1 320px;
    }

    .login-box {
        padding: 24px;
        width: 100%;
        flex: 1 1 auto;
    }

    .footer-top {
        gap: 16px;
    }

    .footer-left,
    .footer-right {
        justify-content: center;
    }

    .header {
        padding: 16px;
        align-items: flex-start;
        gap: 12px;
    }

    .header-left {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .image-box {
        order: -1;
        flex: 1 1 248px;
    }
    .login-box {
        padding: 24px;
        width: 100%;
        flex: 1 1 auto;
    }

    .login-box h1 {        
        font-size: 1.1rem;
    }

    .input-label,
    .input-field,
    .login-button,
    .link {
        font-size: 0.85rem;
    }

    .input-field,
    .login-button {
        padding: 10px;
    }

    .main-container {
        padding: 24px;
        justify-content: center;
    }

    .footer {
        padding: 24px;
    }
}
