/**
 * Low Balance Warning - RED VERSION
 * index.html için wallet.html ile aynı kırmızı renk
 */

/* ============================================
   WARNING BANNER - RED (INDEX & WALLET)
   ============================================ */

.low-balance-warning {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    margin: 0;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 2px solid #f44336;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.low-balance-warning.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   WARNING ICON
   ============================================ */

.warning-icon {
    font-size: 32px;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ============================================
   WARNING CONTENT
   ============================================ */

.warning-content {
    flex: 1;
    min-width: 0;
}

.warning-title {
    font-size: 16px;
    font-weight: 700;
    color: #c62828;
    margin-bottom: 4px;
}

.warning-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.warning-text strong {
    color: #c62828;
    font-weight: 700;
}

/* ============================================
   WARNING BUTTON
   ============================================ */

.warning-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f44336 0%, #e53935 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.warning-button:hover {
    background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

.warning-button:active {
    transform: translateY(0);
}

.button-icon {
    font-size: 18px;
}

.button-text {
    font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .low-balance-warning {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }
    
    .warning-icon {
        font-size: 40px;
    }
    
    .warning-button {
        width: 100%;
        justify-content: center;
    }
    
    .warning-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .warning-title {
        font-size: 14px;
    }
    
    .warning-text {
        font-size: 12px;
    }
    
    .warning-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.low-balance-warning.visible {
    animation: slideDown 0.4s ease;
}