* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #121212;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.logo img {
    height: 60px;
    width: auto;
    filter: invert(1);
    max-width: 100%;
    display: block;
}

header {
    background-color: #1d1d1d;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    height: 90px;
}

.header-right {
    color: #bbb;
    font-size: 1rem;
}

.header-right a {
    color: #93e6dc;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.header-right a:hover {
    color: #6fc7c1;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: row;
    min-height: 0;
}

.left-side {
    flex: 1;
    background: var(--signin-bg) center center / cover no-repeat;
    height: 100%;
    overflow: hidden;
}

.right-side {
    flex: 1;
    background-color: #181818;
    color: #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    overflow: auto;
}

h2 {
    font-weight: 700;
    font-size: 3rem;
    margin-top: 75px;
    margin-bottom: 5px;
    color: #93e6dc;
    letter-spacing: 1.2px;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    width: 100%;
}

label {
    margin-bottom: 6px;
    color: #ccc;
    font-size: 1rem;
}

input[type="email"],
input[type="password"] {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    border: 2px solid #ffffff;
    background: #2c2c2c;
    color: #eee;
    font-size: 1rem;
    transition: background 0.3s;
    width: 600px;
    max-width: 600px;
}

input:focus {
    outline: none;
    background: #3a3a3a;
}

input::placeholder {
    color: #ccc;
    opacity: 1;
}

button {
    background-color: #93e6dc;
    border: none;
    padding: 16px;
    border-radius: 2px;
    font-weight: 400;
    font-size: 1.2rem;
    color: #1c1c1c;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 600px;
    max-width: 600px;
    margin-top: 10px;
}

button:hover {
    background-color: #6fc7c1;
}

.terms-privacy {
    display: flex;
    justify-content: center;
    max-width: 600px;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 25px;
}

.terms-privacy label {
    color: #aaaaaa;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-privacy label a {
    color: #93e6dc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-privacy label a:hover {
    color: #6fc7c1;
    text-decoration: underline;
}

.forgot-password {
    display: flex;
    justify-content: flex-end;
    max-width: 600px;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 25px;
}

.forgot-password a {
    color: #93e6dc;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #6fc7c1;
}

.signup-text {
    text-align: center;
    font-size: 1rem;
    color: #bbb;
    margin-top: 30px;
}

.signup-text a {
    color: #93e6dc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-text a:hover {
    color: #6fc7c1;
}

.line-under-title {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 40px 0 60px;
    color: #ccc;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    max-width: 600px;
}

.line-under-title::before,
.line-under-title::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #555;
}

.line-under-title::before {
    margin-right: 16px;
}

.line-under-title::after {
    margin-left: 16px;
}

footer {
    background-color: #1d1d1d;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
        height: auto;
    }

    .header-right {
        margin-top: 10px;
        font-size: 0.9rem;
        text-align: center;
    }

    .container {
        flex-direction: column;
    }

    .left-side {
        display: none;
    }

    .right-side {
        flex: 1 1 100%;
        width: 100%;
    }

    h2 {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    form,
    input[type="email"],
    input[type="password"],
    button,
    .forgot-password,
    .line-under-title {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .container {
        flex-direction: column !important;
        height: auto !important;
    }

    .left-side {
        display: none !important;
    }

    .right-side {
        padding: 40px 30px !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    form {
        width: 100% !important;
        max-width: 400px;
    }

    input[type="email"],
    input[type="password"],
    button {
        width: 100% !important;
        max-width: 100% !important;
    }
}