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

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 90%;
    max-width: 600px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
}

h1 {
    color: #e74c3c;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
}

p {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Botões de contato */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-email {
    background-color: #3498db;
    color: white;
}

.btn-email:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.btn-orcamento {
    background-color: #e67e22;
    color: white;
}

.btn-orcamento:hover {
    background-color: #d35400;
    transform: translateY(-3px);
}

/* Data e hora */
.datetime {
    position: fixed;
    bottom: 10px;
    right: 15px;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
    border-radius: 20px;
}

/* Botão de login */
.login-btn {
    position: fixed;
    bottom: 10px;
    left: 15px;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.8);
}

/* Formulário de login */
.login-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 90%;
    max-width: 400px;
}

.login-container h2 {
    color: #3498db;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    text-align: left;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.btn-login {
    background-color: #3498db;
    color: white;
    width: 100%;
    margin-top: 1rem;
}

.btn-login:hover {
    background-color: #2980b9;
}

.error-message {
    color: #e74c3c;
    margin-top: 1rem;
    text-align: center;
}

/* Tabela de acessos */
.access-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.access-table th, .access-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.access-table th {
    background-color: #3498db;
    color: white;
    font-weight: 500;
}

.access-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.access-table tr:hover {
    background-color: #f1f1f1;
}

.access-table td {
    color: #555;
}

.logout-btn {
    background-color: #e74c3c;
    color: white;
    margin-top: 1.5rem;
}

.logout-btn:hover {
    background-color: #c0392b;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .access-table th, .access-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.2rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .datetime, .login-btn {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}
