html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f172a;
}

a {
    text-decoration: none !important;
}

.page {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.text-emerald {
    color: #10b981;
}

.btn-emerald {
    background-color: #10b981;
    color: #0f172a;
    font-weight: 700;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-emerald:hover {
    background-color: #34d399;
    transform: translateY(-1px);
}

.input-dark {
    background-color: #0f172a;
    border: 1px solid #334155;
    color: white;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    width: 100%;
}

.input-dark:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.input-dark::placeholder {
    color: #64748b;
}

.select-dark {
    background-color: #0f172a;
    border: 1px solid #334155;
    color: white;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    width: 100%;
}

.select-dark:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.card-dark {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 1.25rem;
    padding: 1.5rem;
}

.card-dark input,
.card-dark select {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: white !important;
}

.card-dark input:focus,
.card-dark select:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.radio-dark:checked {
    background-color: #10b981;
    border-color: #10b981;
}

.radio-dark:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.table-dark {
    background-color: transparent;
    color: white;
}

.table-dark thead th {
    background-color: #0f172a;
    border-color: #334155;
    color: #10b981;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem;
}

.table-dark tbody td {
    border-color: #334155;
    padding: 0.75rem;
    vertical-align: middle;
}

.table-dark tbody tr:hover {
    background-color: rgba(16, 185, 129, 0.05);
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    border-radius: 0.75rem;
    color: #10b981;
    padding: 1rem;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    border-radius: 0.75rem;
    color: #dc3545;
    padding: 1rem;
}