/*
WP Crypto Fees Style
*/

.wpcrypto-fees-panel {
    margin: 20px 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.wpcrypto-fees-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 25px;
    text-align: center;
}

.wpcrypto-fees-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.wpcrypto-fees-subtitle {
    font-size: 15px;
    opacity: 0.9;
    margin: 0;
}

.wpcrypto-fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
    padding: 25px;
}

.wpcrypto-coin-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wpcrypto-coin-card.active {
    border-color: #667eea;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.15);
}

.wpcrypto-coin-card.inactive {
    opacity: 0.7;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.wpcrypto-coin-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.wpcrypto-coin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.wpcrypto-coin-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wpcrypto-coin-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e5e7eb;
    flex-shrink: 0;
}

.wpcrypto-coin-logo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.wpcrypto-coin-details h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

.wpcrypto-coin-symbol {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.wpcrypto-coin-price-status {
    text-align: right;
}

.wpcrypto-price-display {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.wpcrypto-fees-price-fixed,
.wpcrypto-fees-price-live {
    color: #059669;
}

.wpcrypto-fees-price-stable {
    color: #dc2626;
}

.wpcrypto-fees-price-na {
    color: #9ca3af;
    font-size: 14px;
}

.wpcrypto-status-badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpcrypto-status-active {
    background: #dcfce7;
    color: #166534;
}

.wpcrypto-status-inactive {
    background: #fef2f2;
    color: #991b1b;
}

.wpcrypto-coin-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.wpcrypto-section {
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e5e7eb;
}

.wpcrypto-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #d1d5db;
}

.wpcrypto-networks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.wpcrypto-network-badge {
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.wpcrypto-network-badge.eth {
    background: linear-gradient(135deg, #627eea, #5a67d8);
}

.wpcrypto-network-badge.bsc {
    background: linear-gradient(135deg, #f0b90b, #e6a800);
}

.wpcrypto-network-badge.polygon {
    background: linear-gradient(135deg, #8247e5, #7c3aed);
}

.wpcrypto-network-badge.btc {
    background: linear-gradient(135deg, #f7931a, #e8830f);
}

.wpcrypto-network-badge.tron {
    background: linear-gradient(135deg, #ff060a, #dc2626);
}

.wpcrypto-network-badge.arbitrum {
    background: linear-gradient(135deg, #28a0f0, #1e80c7);
}

.wpcrypto-network-badge.optimism {
    background: linear-gradient(135deg, #ff0420, #dc2626);
}

.wpcrypto-fees-list {
    space-y: 4px;
}

.wpcrypto-fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 11px;
}

.wpcrypto-fee-item:last-child {
    border-bottom: none;
}

.wpcrypto-fee-network {
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
}

.wpcrypto-fee-value {
    color: #059669;
    font-weight: 600;
}

.wpcrypto-internal-section {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    text-align: center;
    margin-top: 10px;
}

.wpcrypto-internal-section .wpcrypto-section-title {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.wpcrypto-internal-fee {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.wpcrypto-no-data {
    color: #9ca3af;
    font-size: 12px;
    text-align: center;
    font-style: italic;
    padding: 10px;
}

.wpcrypto-fees-empty {
    text-align: center;
    padding: 50px 30px;
    color: #6b7280;
    font-size: 16px;
    font-style: italic;
}

@media (max-width: 1024px) {
    .wpcrypto-fees-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 18px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .wpcrypto-fees-header {
        padding: 25px 20px;
    }

    .wpcrypto-fees-title {
        font-size: 22px;
    }

    .wpcrypto-fees-subtitle {
        font-size: 13px;
    }

    .wpcrypto-fees-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    .wpcrypto-coin-card {
        padding: 18px;
    }

    .wpcrypto-coin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        text-align: left;
    }

    .wpcrypto-coin-price-status {
        text-align: left;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .wpcrypto-coin-body {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wpcrypto-section {
        padding: 12px;
    }

    .wpcrypto-internal-section {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .wpcrypto-fees-header {
        padding: 20px 15px;
    }

    .wpcrypto-fees-title {
        font-size: 20px;
    }

    .wpcrypto-fees-grid {
        padding: 12px;
        gap: 12px;
    }

    .wpcrypto-coin-card {
        padding: 15px;
    }

    .wpcrypto-coin-logo,
    .wpcrypto-coin-logo-placeholder {
        width: 32px;
        height: 32px;
    }

    .wpcrypto-coin-details h3 {
        font-size: 14px;
    }

    .wpcrypto-price-display {
        font-size: 16px;
    }

    .wpcrypto-section {
        padding: 10px;
    }
}