/* Global Overrides for "Blue Theme" */

/* Force Blue Header */
.custom-blue-header {
    background-color: #007bff !important; /* Vibrant Blue */
    background-image: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

/* Force Blue Primary Buttons */
.btn-primary, 
[class*="btn-primary"], 
button[class*="deposit"], 
div[class*="deposit"] {
    background-color: #007bff !important;
    color: white !important;
    border: none !important;
}

/* Bottom Nav Active State */
.bottom-nav-active, 
[class*="nav-item"].active, 
[class*="tab"].active {
    color: #007bff !important;
}

.bottom-nav-center-btn {
    background-color: #007bff !important;
    border-color: #1e1e1e !important;
}

/* Modals (Existing Styles) */
.injected-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.injected-modal-overlay.active {
    display: flex;
}

.injected-modal-content {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    color: white;
    font-family: system-ui, -apple-system, sans-serif;
}

.injected-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #b0b0b0;
    font-size: 24px;
    cursor: pointer;
}

.injected-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.injected-flags-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.injected-flag-card {
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.injected-flag-card:hover {
    transform: scale(1.05);
}

.injected-flag-img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.injected-mt-2 { margin-top: 10px; }

.injected-offer-text {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.injected-btn-primary {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    text-transform: uppercase;
}

.injected-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* User Dropdown */
.injected-user-dropdown {
    position: fixed;
    top: 60px; /* Adjust based on header height */
    right: 10px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 10px;
    width: 250px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: none;
    z-index: 100000;
}

.injected-user-dropdown.active {
    display: block;
}

.injected-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: white;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #333;
}

.injected-dropdown-item:last-child {
    border-bottom: none;
}

.injected-dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Deposit Modal Specifics */
.injected-deposit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.injected-deposit-option {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px 5px;
    cursor: pointer;
    position: relative;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    transition: 0.2s;
}

.injected-deposit-option:hover {
    background: #333;
}

.injected-deposit-option.selected {
    border-color: #007bff;
    background: #004085;
}

.injected-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff3b30;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    white-space: nowrap;
}
