* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 560px;
    padding: 20px;
    overflow-x: auto;
    overflow-y: auto;
    color: #ffffff;
}

.login-container {
    width: 100%;
    max-width: 560px;
    padding: 20px;
}

.login-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho nas bordas */
.login-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff3333, #000000);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-box:hover::before {
    opacity: 1;
}

.logo-image {
    width: 460px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.logo p {
    color: #888;
    font-size: 1rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ccc;
    font-size: 0.9rem;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 15px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: #666;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #ff3333;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.3);
    background: #333;
}

button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #ff3333, #cc0000);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    background: linear-gradient(45deg, #cc0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.4);
}

button:active {
    transform: translateY(0);
}

.error-message {
    margin-top: 20px;
    color: #ff6666;
    font-size: 14px;
    min-height: 20px;
    text-align: center;
}

@media (max-width: 768px) and (orientation: portrait) {
    body {
        min-width: 0;
        align-items: flex-start;
        overflow-x: hidden;
        padding: 16px;
    }

    .login-container {
        max-width: 100%;
        padding: 0;
    }

    .login-box {
        padding: 28px 20px;
    }

    .logo-image {
        width: min(320px, 100%);
    }
}

