/* CRYPTO WALLET READER - TEMA CHIARO FORZATO */
/* Versione con !important per override completo */

/* RESET FORZATO TEMA SCURO */
* {
    color: #1f2937 !important;
}

body {
    background: #ffffff !important;
    background-image: none !important;
    color: #1f2937 !important;
    font-family: 'Inter', 'Segoe UI', sans-serif !important;
}

/* NAVBAR BIANCA */
.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.navbar-brand {
    color: #f59e0b !important;
    font-weight: 800 !important;
}

.nav-link {
    color: #374151 !important;
}

.nav-link:hover {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.1) !important;
}

.nav-link.active {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.1) !important;
}

/* CARDS BIANCHE */
.card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

.card-header {
    background: #f9fafb !important;
    border-bottom: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
}

.card-header h5,
.card-header h6 {
    color: #1f2937 !important;
    font-weight: 700 !important;
}

.card-body {
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%) !important;
    padding: 3rem 0 !important;
}

.hero-section h1 {
    color: #1f2937 !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #f59e0b, #059669) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.hero-section p {
    color: #6b7280 !important;
}

/* FORMS CHIARI */
.form-control,
.form-select {
    background: #ffffff !important;
    border: 2px solid #d1d5db !important;
    color: #1f2937 !important;
    border-radius: 8px !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1) !important;
    background: #ffffff !important;
    color: #1f2937 !important;
}

.form-control::placeholder {
    color: #9ca3af !important;
}

.form-label {
    color: #374151 !important;
    font-weight: 600 !important;
}

/* BUTTONS */
.btn-crypto {
    background: linear-gradient(135deg, #f59e0b, #059669) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 25px !important;
    padding: 12px 30px !important;
}

.btn-crypto:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3) !important;
    color: #ffffff !important;
}

.btn-outline-success {
    color: #059669 !important;
    border-color: #059669 !important;
    background: transparent !important;
}

.btn-outline-success:hover {
    background: #059669 !important;
    color: #ffffff !important;
}

.btn-outline-info {
    color: #2563eb !important;
    border-color: #2563eb !important;
    background: transparent !important;
}

.btn-outline-info:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

.btn-outline-warning {
    color: #d97706 !important;
    border-color: #d97706 !important;
    background: transparent !important;
}

.btn-outline-warning:hover {
    background: #d97706 !important;
    color: #ffffff !important;
}

.btn-outline-danger {
    color: #dc2626 !important;
    border-color: #dc2626 !important;
    background: transparent !important;
}

.btn-outline-danger:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
}

.btn-outline-primary {
    color: #2563eb !important;
    border-color: #2563eb !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

.btn-outline-secondary {
    color: #6b7280 !important;
    border-color: #6b7280 !important;
    background: transparent !important;
}

.btn-outline-secondary:hover {
    background: #6b7280 !important;
    color: #ffffff !important;
}

/* STATS CARDS */
.stat-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    padding: 2rem !important;
}

.stat-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-4px) !important;
}

.stat-number {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #f59e0b !important;
    margin-bottom: 0.5rem !important;
}

.stat-label {
    color: #6b7280 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.stat-icon {
    color: #f59e0b !important;
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
}

/* WALLET CARDS SPECIFICHE */
.wallet-form-card {
    background: #ffffff !important;
    border-left: 4px solid #f59e0b !important;
}

.wallet-result-card {
    background: #ffffff !important;
    border-left: 4px solid #059669 !important;
}

.balance-card {
    background: #ffffff !important;
    border-left: 4px solid #059669 !important;
}

.wallet-card {
    background: #ffffff !important;
    border-left: 4px solid #f59e0b !important;
}

.transaction-card {
    background: #ffffff !important;
    border-left: 4px solid #2563eb !important;
}

.portfolio-stats-card {
    background: #ffffff !important;
    border-left: 4px solid #2563eb !important;
}

/* BALANCE DISPLAY */
.balance-display {
    background: #f9fafb !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 2rem !important;
}

.balance-amount {
    color: #059669 !important;
    font-size: 3rem !important;
    font-weight: 900 !important;
}

.currency-symbol {
    color: #6b7280 !important;
}

.balance-usd {
    color: #f59e0b !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
}

/* WALLET ADDRESS */
.wallet-address-display {
    background: #f3f4f6 !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    color: #374151 !important;
    font-family: 'Courier New', monospace !important;
}

.wallet-address-small {
    background: #f3f4f6 !important;
    color: #374151 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-family: 'Courier New', monospace !important;
}

/* TABLES */
.table-dark {
    background: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid #e5e7eb !important;
}

.table-dark th {
    background: #f9fafb !important;
    color: #374151 !important;
    border-color: #e5e7eb !important;
    font-weight: 700 !important;
}

.table-dark td {
    background: #ffffff !important;
    color: #1f2937 !important;
    border-color: #f3f4f6 !important;
}

.table-dark tr:hover {
    background: #f9fafb !important;
}

/* ALERTS */
.alert {
    border-radius: 8px !important;
    border: 1px solid !important;
}

.alert-success {
    background: #d1fae5 !important;
    border-color: #10b981 !important;
    color: #047857 !important;
}

.alert-danger {
    background: #fee2e2 !important;
    border-color: #ef4444 !important;
    color: #dc2626 !important;
}

.alert-warning {
    background: #fef3c7 !important;
    border-color: #f59e0b !important;
    color: #d97706 !important;
}

.alert-info {
    background: #dbeafe !important;
    border-color: #3b82f6 !important;
    color: #2563eb !important;
}

/* MODALS */
.modal-content {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    color: #1f2937 !important;
}

.modal-header {
    background: #f9fafb !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.modal-title {
    color: #1f2937 !important;
    font-weight: 700 !important;
}

.modal-body {
    background: #ffffff !important;
    color: #1f2937 !important;
}

.modal-footer {
    background: #f9fafb !important;
    border-top: 1px solid #e5e7eb !important;
}

/* BADGES */
.badge {
    border-radius: 20px !important;
    padding: 0.5em 0.8em !important;
    font-weight: 600 !important;
}

.badge.bg-success {
    background: #10b981 !important;
    color: #ffffff !important;
}

.badge.bg-primary {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.badge.bg-warning {
    background: #f59e0b !important;
    color: #ffffff !important;
}

.badge.bg-danger {
    background: #ef4444 !important;
    color: #ffffff !important;
}

.badge.bg-info {
    background: #06b6d4 !important;
    color: #ffffff !important;
}

.badge.bg-secondary {
    background: #6b7280 !important;
    color: #ffffff !important;
}

/* CRYPTO ICONS */
.crypto-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    margin-right: 1rem !important;
}

.bitcoin-icon {
    background: linear-gradient(135deg, #f7931a, #ff9500) !important;
    color: #ffffff !important;
}

.ethereum-icon {
    background: linear-gradient(135deg, #627eea, #4f6cda) !important;
    color: #ffffff !important;
}

/* FOOTER */
footer {
    background: #f9fafb !important;
    color: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
}

footer h4,
footer h5,
footer h6 {
    color: #ffffff !important;
}

footer p,
footer small {
    color: #6b7280 !important;
}

.footer-link {
    color: #ffffff !important;
}

.footer-link:hover {
    color: #ffffff !important;
}

.social-link {
    background: #e5e7eb !important;
    color: #6b7280 !important;
}

.social-link:hover {
    background: #f59e0b !important;
    color: #ffffff !important;
}

/* PROGRESS */
.progress {
    background: #e5e7eb !important;
    border-radius: 4px !important;
}

.progress-bar {
    background: linear-gradient(90deg, #f59e0b, #059669) !important;
}

/* BREADCRUMB */
.breadcrumb {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
}

.breadcrumb-item.active {
    color: #374151 !important;
}

/* DROPDOWN */
.dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.dropdown-item {
    color: #374151 !important;
}

.dropdown-item:hover {
    background: #f3f4f6 !important;
    color: #f59e0b !important;
}

.dropdown-divider {
    border-color: #e5e7eb !important;
}

/* TEXT UTILITIES OVERRIDE */
.text-white {
    color: #1f2937 !important;
}

.text-muted {
    color: #6b7280 !important;
}

.text-dark {
    color: #1f2937 !important;
}

.text-light {
    color: #6b7280 !important;
}

.text-primary {
    color: #3b82f6 !important;
}

.text-success {
    color: #10b981 !important;
}

.text-warning {
    color: #f59e0b !important;
}

.text-danger {
    color: #ef4444 !important;
}

.text-info {
    color: #06b6d4 !important;
}

.text-secondary {
    color: #6b7280 !important;
}

/* BACKGROUND UTILITIES OVERRIDE */
.bg-primary {
    background: #3b82f6 !important;
}

.bg-success {
    background: #10b981 !important;
}

.bg-warning {
    background: #f59e0b !important;
}

.bg-danger {
    background: #ef4444 !important;
}

.bg-info {
    background: #06b6d4 !important;
}

.bg-secondary {
    background: #6b7280 !important;
}

.bg-light {
    background: #f9fafb !important;
}

.bg-dark {
    background: #374151 !important;
}

.bg-white {
    background: #ffffff !important;
}

/* WALLET SPECIFIC */
.wallet-item {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
}

.wallet-item:hover {
    background: #f9fafb !important;
}

/* INPUT GROUP */
.input-group-text {
    background: #f3f4f6 !important;
    border: 2px solid #d1d5db !important;
    color: #374151 !important;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px !important;
}

::-webkit-scrollbar-track {
    background: #f3f4f6 !important;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db !important;
    border-radius: 4px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af !important;
}

/* MAIN CONTENT */
.main-content {
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* LISTA SPECIFICA */
.list-group-item {
    background: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid #e5e7eb !important;
}

/* TIMELINE */
.timeline-content {
    background: #f9fafb !important;
    color: #1f2937 !important;
    border: 1px solid #e5e7eb !important;
}

/* ACCORDION */
.accordion-item {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
}

.accordion-button {
    background: #f9fafb !important;
    color: #374151 !important;
}

.accordion-body {
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* FORCE OVERRIDE TUTTO */
h1, h2, h3, h4, h5, h6 {
    color: #1f2937 !important;
}

p, span, div, label, small {
    color: #1f2937 !important;
}

a {
    color: #3b82f6 !important;
}

a:hover {
    color: #1d4ed8 !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem !important;
    }
    
    .stat-card {
        padding: 1.5rem !important;
    }
    
    .hero-section {
        padding: 2rem 0 !important;
    }
}