html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
}

/* index.html */
.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 80%;
}

.login-link {
    color: #757575;
    text-decoration: none;
    font-size: 0.8em;
    font-family: sans-serif;
    display: block;
    width: 100%;
    text-align: center;
}

.login-link:hover {
    color: #cccccc;
}

img {
    max-width: 900px;
    max-height: 100%;
    object-fit: contain;
    width: 80%;
    height: auto;
}

/* login.html */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 80%;
    max-width: 400px;
}

.container img {
    max-width: 300px;
    width: 100%;
    object-fit: contain;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

input {
    background-color: #111111;
    border: 1px solid #333333;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 16px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

input::placeholder {
    color: #555555;
}

input:focus {
    border-color: #666666;
}

button {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #cccccc;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #000000;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}

.error-message {
    color: #ff4444;
    font-size: 16px;
    font-family: sans-serif;
    text-align: center;
    display: none;
}

.success-message {
    color: #ffffff;
    font-size: 16px;
    font-family: sans-serif;
    text-align: center;
    line-height: 1.6;
    display: none;
}
