* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px 20px;
}

.login-container,
.users-container {
    background-color: #2a2a2a;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
    border: 1px solid #3a3a3a;
}

.login-container {
    padding: 50px 45px;
    max-width: 440px;
    width: 100%;
}

.users-container {
    padding: 25px 25px;
    max-width: 900px;
    width: 100%;
    margin-top: 80px;
}

h1 {
    color: #F8F4E1;
    font-size: 2.4rem;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.users_text {
    color: #F8F4E1;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    color: #BBA080;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-text {
    text-align: center;
    color: #888888;
    font-size: 0.80rem;
    margin-top: 30px;
    margin-bottom: -20px;
}

.register-text {
    text-align: center;
    color: #7e6a3e;
    font-size: 0.85rem;
    margin-top: 30px;
}
.register-text:hover {
    font-size: 0.9rem;
}

a {
    text-decoration: none;
    color: inherit;
}

form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    color: #F8F4E1;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    background-color: #1a1a1a;
    color: #F8F4E1;
    border: 2px solid #3a3a3a;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.1s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #df963e;
    background-color: #222222;
}

::placeholder {
    color: #666666;
}

input[type="submit"] {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #725C32 0%, #8C6F40 100%);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 12px;
}

input[type="submit"]:hover {
    background: linear-gradient(135deg, #6e5732 0%, #755f39 100%);
}

input[type="submit"]:active {
    transform: scale(0.98);
}
#logs {
    background: #df963e;
    width: 75%;
    margin-left: 10px;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 6px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
#logs:hover{
    background: #b97d33;
}
#logs-container{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
    background-color: #474747;
    resize: vertical;
    overflow: auto;
}
#logs-container::-webkit-scrollbar{
    width: 10px;
    background-color: #f1f1f1;
}
.logout {
    position: fixed;
    top: 92%;
    left: 94%;
    width: 5%;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.banner {
    position: fixed;
    border-radius: 2px;
    top: 0;
    left: 0;
    width: 25%;
    background: #df963e;
}

.banner__content {
    padding: 16px;
}

.banner__text {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.line {
    margin: 5px auto 20px auto;
    border-bottom: 2px solid #df963e;
    width: 90%;
}
.user-table {
    width: 100%;
    border-collapse: collapse;
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    color: #f0f0f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.user-table thead {
    background: #2d2d2d;
}

.user-table th {
    padding: 14px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #f0f0f0;
    border-bottom: 1px solid #3a3a3a;
}

.user-table td {
    padding: 14px;
    font-size: 14px;
    color: #f0f0f0;
    border-bottom: 1px solid #333;
}


.user-table tbody tr:last-child td {
    border-bottom: none;
}


@media (max-width: 768px) {
    .users-container {
        max-width: 100%;
    }

    .user-table th,
    .user-table td {
        padding: 10px;
        font-size: 13px;
    }

    h1 {
        font-size: 2rem;
    }

    .users_text {
        font-size: 1.4rem;
    }
}
