/* Estilo geral do corpo */
body {
    font-family: Arial, sans-serif;
    background-color: #0d1117;
    color: #c9d1d9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: url('background-stars.png');
    background-size: cover;
    background-position: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.view-container, .register-container {
    animation: fadeIn 1s ease-in-out;
}

.login-container, .register-container {
    background-color: #161b22;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 350px;
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.view-container {
    background-color: #161b22;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 1200px;
    text-align: center;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.sidebar {
    height: 100%;
    width: 200px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #161b22;
    padding-top: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
}

.sidebar h2 {
    color: #58a6ff;
    text-align: center;
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: #c9d1d9;
    display: block;
}

.sidebar a:hover {
    background-color: #575757;
    color: white;
}

.sidebar form button {
    width: 100%;
    padding: 10px;
    background-color: #6f42c1;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.sidebar form button:hover {
    background-color: #5a32a3;
    transform: scale(1.05);
}

.main-content {
    margin-left: 200px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    font-size: 24px;
    color: #58a6ff;
    margin-bottom: 20px;
}

.section {
    display: none;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 18px;
    color: #8b949e;
}

.input-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #30363d;
    border-radius: 4px;
    font-size: 14px;
    background-color: #0d1117;
    color: #c9d1d9;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #6f42c1;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-bottom: 10px;
}

button:hover {
    background-color: #5a32a3;
    transform: scale(1.05);
}

.error {
    color: red;
}

.success {
    color: #28a745;
    margin-bottom: 10px;
}

.table-container {
    max-height: 400px;
    overflow-y: auto;
    margin: 20px 0;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #161b22;
    color: #c9d1d9;
}

table, th, td {
    border: 1px solid #30363d;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #21262d;
}

td {
    background-color: #161b22;
}

td a {
    color: #6f42c1;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

.copy-text {
    display: inline-block;
    margin-right: 10px;
    cursor: default;
}

.copy-button {
    background-color: #6f42c1;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 8px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 5px;
}

.copy-button:hover {
    background-color: #5a32a3;
}

.search-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-container input {
    height: 30px;
    padding: 5px 10px;
    font-size: 13px;
    width: 200px;
    border: 1px solid #30363d;
    border-radius: 4px 0 0 4px;
    background-color: #0d1117;
    color: #c9d1d9;
    outline: none;
}

.search-container button {
    height: 30px;
    width: 30px;
    padding: 5px;
    background-color: #0366d6;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container button:hover {
    background-color: #0356b6;
}

.search-container button svg {
    width: 16px;
    height: 16px;
    fill: white;
}

footer {
    background-color: #161b22;
    color: #8b949e;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    position: absolute;
    bottom: 0;
}

@keyframes successAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success-message {
    display: none;
    color: #28a745;
    font-size: 18px;
    margin-top: 20px;
    animation: successAnimation 1s ease-in-out;
}

.confirmation-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #161b22;
    padding: 20px;
    border: 2px solid #30363d;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: fadeIn 0.5s;
}

.confirmation-box p {
    margin-bottom: 20px;
    color: #c9d1d9;
}

.confirmation-box button {
    width: auto;
    padding: 10px 20px;
    margin: 5px;
}

.animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.animation-content {
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
}

.progress-bar {
    width: 80%;
    height: 20px;
    background-color: #444;
    margin: 20px auto;
    border-radius: 5px;
}

.progress {
    width: 0;
    height: 100%;
    background-color: #00ff00;
    border-radius: 5px;
    animation: progressAnimation 3s linear forwards;
}

@keyframes progressAnimation {
    to {
        width: 100%;
    }
}

.error-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.error-cmd {
    color: #ff0000;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    white-space: pre;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
}
/* Estilos gerais */
body {
    font-family: Arial, sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

body.light-theme {
    background-color: #ffffff;
    color: #000000;
}

body.light-theme .sidebar {
    background-color: #000000;
    color: #ffffff;
}

body.light-theme .main-content {
    background-color: #ffffff;
    color: #000000;
}

body.light-theme button {
    background-color: #333333;
    color: #ffffff;
}

body.light-theme table {
    background-color: #f9f9f9;
    color: #333333;
}

body.light-theme th {
    background-color: #eeeeee;
}

body.light-theme td {
    background-color: #f9f9f9;
}

/* Continue com suas outras estilizações aqui... */
