body {
    font-family: 'Poppins', sans-serif;
    background-color: #FFF9F5; /* Pastel soft orange/peach background */
    color: #333;
}

.text-primary-custom {
    color: #E87A24 !important; /* Dark orange / Pumpkin */
}

.bg-primary-custom {
    background-color: #E87A24 !important;
    color: #FFF;
}

.bg-primary-custom:hover {
    background-color: #D66A14 !important;
    color: #FFF;
}

.btn-custom {
    background-color: #E87A24;
    color: white;
    font-weight: 600;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-custom:hover {
    background-color: #D66A14;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(232, 122, 36, 0.3);
}

.hero-section { padding-top: 80px; padding-bottom: 40px;
    text-align: center;
}

.form-control-lg-custom {
    border-radius: 50px;
    padding: 20px 30px;
    font-size: 1.2rem;
    border: 2px solid #F0D4C3;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-control-lg-custom:focus {
    border-color: #E87A24;
    box-shadow: 0 0 0 0.25rem rgba(232, 122, 36, 0.25);
}





.custom-hash-wrapper {
    display: none;
    margin-top: 15px;
}

/* Estatísticas Compactas */
.stat-item {
    border: 1px solid rgba(232, 122, 36, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(232, 122, 36, 0.1) !important;
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: #FDEFE6; /* Laranja bem clarinho */
    color: #E87A24; /* Abóbora */
    font-size: 1.2rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #888;
    margin-top: 2px;
}
/* Custom Switch Grande */
.custom-switch-lg {
    display: flex;
    align-items: center;
    padding-left: 3.5rem;
    margin-top: 10px;
}

.custom-switch-lg .form-check-input {
    width: 3.5rem;
    height: 1.75rem;
    margin-left: -3.5rem;
    margin-top: 0;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: background-position .15s ease-in-out;
}

.custom-switch-lg .form-check-input:checked {
    background-color: #E87A24;
    border-color: #E87A24;
}

.custom-switch-lg .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(232, 122, 36, 0.25);
    border-color: #E87A24;
}

.custom-switch-lg .form-check-label {
    font-size: 1.15rem;
    margin-left: 0.8rem;
    cursor: pointer;
    color: #666 !important;
    font-weight: 500;
}
/* Custom Hash Input */
.custom-hash-input-group {
    border-radius: 50px;
    background-color: #FAFAFA;
    border: 2px solid #F0D4C3;
    transition: all 0.3s ease;
}

.custom-hash-input-group:focus-within {
    border-color: #E87A24;
    background-color: #FFF;
    box-shadow: 0 0 0 0.25rem rgba(232, 122, 36, 0.15);
}

.custom-hash-input-group .input-group-text {
    font-weight: 500;
    padding-left: 1.5rem;
    padding-right: 0.5rem;
}

.custom-hash-input-group .form-control {
    font-weight: 600;
    color: #E87A24;
    padding-left: 0;
}

.custom-hash-input-group .form-control::placeholder {
    color: #bbb;
    font-weight: 400;
}

.custom-hash-input-group #hashStatus {
    padding-right: 1.5rem;
    padding-left: 0;
}
.btn-outline-custom {
    color: #E87A24;
    border-color: #E87A24;
}
.btn-outline-custom:hover {
    background-color: #E87A24;
    color: #FFF;
}

/* Estilos de Desabilitado / Inválido */
.btn-custom:disabled, .btn-custom.btn-disabled-visual {
    background-color: #ced4da !important;
    color: #6c757d !important;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important; /* Substitui a opacidade padrão do Bootstrap */
}

.custom-hash-input-group.hash-invalid,
.custom-hash-input-group.hash-invalid:focus-within {
    border-color: #ced4da !important;
    box-shadow: none !important; /* Remove o brilho laranja */
}

/* Opcional: deixar o texto da URL e do xizinho vermelhos pra destacar o erro */
.custom-hash-input-group.hash-invalid .form-control {
    color: #dc3545 !important;
}
/* Estilos do Dropdown */
.dropdown-menu {
    animation: fadeInDropdown 0.2s ease-out;
}

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

.dropdown-item {
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: #FFF9F5;
    color: #E87A24;
}

.dropdown-item.text-danger:hover {
    background-color: #fff5f5;
    color: #dc3545;
}

.dropdown-item:active {
    background-color: #F0D4C3;
    color: #E87A24;
}
.stat-value {
    transition: color 0.3s ease;
}

/* Fix para não ter rolagem horizontal (Item 3) */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ajustes Mobile Específicos */
@media (max-width: 767.98px) {
    /* Item 1: Separar o botão do campo de input */
    .main-input-group {
        flex-direction: column;
    }
    .main-input-group .form-control {
        width: 100%;
        border-radius: 50px !important;
        margin-bottom: 12px;
        text-align: center;
    }
    .main-input-group .btn-custom {
        width: 100%;
        border-radius: 50px !important;
        padding: 15px;
    }
    
    /* Item 2: Texto do switch menor e em uma linha */
    .custom-switch-lg .form-check-label {
        font-size: 0.85rem !important;
        white-space: nowrap;
        margin-left: 0.2rem;
    }
    
    /* Manter o hash personalizado em uma linha ABSOLUTA sem quebrar nunca */
    .custom-hash-input-group {
        flex-wrap: nowrap !important;
    }
    .custom-hash-input-group .input-group-text {
        padding-left: 15px !important;
    }
    .custom-hash-input-group .form-control {
        min-width: 0; /* Permite que o flex diminua o input sem quebrar a linha */
    }
}