body {
    background-color: #121212;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.text-gradient {
    background: linear-gradient(45deg, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-secondary-dark {
    background-color: #1e1e1e;
}

.text-xs {
    font-size: 0.75rem;
}

.tracking-wide {
    letter-spacing: 0.1em;
}

.card {
    border-radius: 12px;
}

/* Form Styling - Fix Contrast Issues */
.form-control, 
.form-select {
    background-color: #212529; /* bg-dark equivalent */
    color: #f8f9fa; /* text-light equivalent */
    border-color: #6c757d; /* border-secondary equivalent */
}

.form-control:focus,
.form-select:focus {
    background-color: #252525;
    color: #fff;
    border-color: #3a7bd5;
    box-shadow: 0 0 0 0.25rem rgba(58, 123, 213, 0.25);
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* Fix option visibility in dropdowns */
option {
    background-color: #212529;
    color: #fff;
}

.btn-primary {
    background: linear-gradient(45deg, #00d2ff, #3a7bd5);
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #00c6f0, #346ec0);
    transform: translateY(-1px);
}

.list-group-item {
    background-color: transparent;
    color: #ccc;
    border-color: #333;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #121212; 
}
 
::-webkit-scrollbar-thumb {
    background: #333; 
    border-radius: 4px;
}

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

/* Param List Styling */
.params-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.param-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.param-section h5 {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
    color: #00d2ff !important;
    text-transform: uppercase;
    font-weight: 700;
}

/* Níveis de indentação visual */
.nested-level-1 {
    margin-left: 0;
}

.nested-level-2 {
    margin-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    padding-left: 10px;
}

.param-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.param-key,
.nested-key {
    color: #aaa;
    font-size: 0.85rem;
}

.param-value,
.nested-value {
    color: #fff;
    font-weight: 500;
    font-size: 0.85rem;
    text-align: right;
}

/* Serum Face Visualizer */
.serum-face-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #181818;
    border-radius: 12px;
    border: 1px solid #333;
    flex-wrap: wrap;
}

.serum-module {
    background: #252525;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 10px 15px;
    min-width: 100px;
    text-align: center;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.serum-module:hover {
    transform: translateY(-3px);
    background: #2a2a2a;
}

.serum-module.active {
    opacity: 1;
    border-color: #00d2ff;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.serum-module-title {
    font-size: 0.7rem;
    font-weight: bold;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.serum-module.active .serum-module-title {
    color: #00d2ff;
}

.serum-module-content {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

.serum-arrow {
    color: #555;
    font-size: 1.2rem;
}

.humanize-badge {
    font-size: 1.2rem;
    animation: bounce 0.5s;
    display: inline-block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}
