:root {
    --primary-color: #0d1b2a;
    --secondary-color: #1b263b;
    --accent-color: #485461;
    --text-color: #e0e1dd;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
}

/* Estilos para a tabela */
.table {
    background-color: #ffffff;
    color: #333333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table th {
    background-color: #f8f9fa;
    color: #333333;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
}

.table td {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
}

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

.form-select {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    color: #333333;
    padding: 0.5rem;
    border-radius: 4px;
}

.form-select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.btn-primary {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

.table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.form-select {
    background-color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 4px;
}

.form-select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.btn-primary {
    background-color: #4CAF50;
    border-color: #4CAF50;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

/* Menu principal */
.main-nav {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white !important;
    text-decoration: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: #4CAF50 !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background-color: rgb(0 168 181);
}

.navbar-toggler:hover {
    background-color: rgb(0 168 181 / 20%);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Menu mobile */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    max-width: 90%;
    margin: 20px auto;
}

/* Responsivo */
@media screen and (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-auth {
        display: none;
    }

    .nav-user {
        display: flex;
        gap: 1rem;
        margin-left: auto;
    }
}

.card {
    background-color: var(--secondary-color);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 2rem;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-color);
    padding: 10px 20px;
    cursor: pointer;
    margin-right: 10px;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    border-bottom: 2px solid var(--accent-color);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
    color: var(--text-color);
}

.form-control::placeholder {
    color: rgba(224, 225, 221, 0.7);
}

.form-label {
    color: rgba(224, 225, 221, 0.8);
    font-weight: 500;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: #353b48;
    border-color: #353b48;
}

/* Estilo para termos e condições */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-content h1 {
    color: #4CAF50;
    margin-bottom: 2rem;
}

.terms-content h2 {
    color: white;
    font-size: 1.5rem;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.terms-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.terms-content ul {
    margin-bottom: 1.5rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.terms-content ol {
    margin-bottom: 1.5rem;
}

.terms-content ol li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Estilo para últimos acessos */
.recent-logins {
    padding: 1rem 0;
}

.login-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.login-item:last-child {
    border-bottom: none;
}

.login-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.login-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
}

.login-details {
    flex: 1;
}

.login-time {
    color: #4CAF50;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.login-info span {
    display: inline-block;
}

/* Indicador de força da senha */
.password-strength {
    margin-top: 10px;
    padding: 5px;
    border-radius: 4px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.password-strength.weak {
    background-color: #ff6b6b;
    color: white;
}

.password-strength.medium {
    background-color: #ffd600;
    color: black;
}

.password-strength.strong {
    background-color: #4CAF50;
    color: white;
}

.password-strength.empty {
    background-color: var(--secondary-color);
    color: var(--text-color);
    opacity: 0.7;
}

/* Loading spinner */
.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

/* Success message */
.success-message {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #2ecc71;
    color: white;
    border-radius: 4px;
    z-index: 1000;
}
