body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #0f172a;
    color: #fff;
}

.container {
    width: 420px;
    margin: auto;
    margin-top: 120px;
    background: #111827;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

h1, h2 {
    text-align: center;
}

input, select {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 6px;
    border: none;
    background: #1f2937;
    color: white;
}

button {
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    border-radius: 6px;
    border: none;
    background: #2563eb;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

.topbar {
    background: #020617;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout {
    background: #ef4444;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
}

.dashboard {
    width: 600px;
    margin: auto;
    margin-top: 80px;
    background: #111827;
    padding: 40px;
    border-radius: 12px;
}

.result {
    margin-top: 30px;
    background: #020617;
    padding: 20px;
    border-radius: 8px;
}
.formulario .form-group {
    margin-bottom: 15px;
}

.formulario label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.formulario input, 
.formulario select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    background: #1f2937;
    color: #fff;
    font-size: 14px;
}

.formulario button {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: #2563eb;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.formulario button:hover {
    background: #1d4ed8;
}
.dashboard {
    width: 90%;
    max-width: 900px;
    margin: 60px auto;
    background: #111827;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.card-summary {
    background: #1f2937;
    padding: 20px 25px;
    border-radius: 10px;
    flex: 1 1 28%;
    margin: 10px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.card-summary h3 {
    margin: 0;
    color: #9ca3af;
    font-weight: normal;
    font-size: 14px;
}

.card-summary p {
    margin: 10px 0 0 0;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

table#historico {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table#historico th, table#historico td {
    padding: 12px 10px;
    text-align: center;
}

table#historico th {
    background: #1f2937;
    color: #9ca3af;
}

table#historico tr:nth-child(even) {
    background: #1e293b;
}

table#historico tr.mbway {
    background: #0f172a;
    color: #38bdf8;
}

.copy-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.copy-btn:hover {
    background: #1d4ed8;
}

.formulario .form-group {
    margin-bottom: 15px;
}

.formulario label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.formulario input, 
.formulario select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    background: #1f2937;
    color: #fff;
    font-size: 14px;
}

.formulario button {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: #16a34a;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.formulario button:hover {
    background: #15803d;
}