/* Custom Homepage Widget Styles */
.crypto-homepage-widget-container {
    padding: 40px 0;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.crypto-homepage-widget-container .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.crypto-homepage-widget-container .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.crypto-homepage-widget-container .section-seperator {
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #3498db, #e74c3c);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.crypto-homepage-widget-container .section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Table Styles */
.crypto-exchanges-table {
    margin: 30px 0;
}

.crypto-exchanges-table .table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.crypto-exchanges-table .table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.crypto-exchanges-table .table tbody td {
    padding: 20px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.crypto-exchanges-table .table tbody tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

/* Rating Badge */
.rating-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: center;
}

/* Exchange Info */
.exchange-info {
    margin-top: 5px;
}

.exchange-info small {
    color: #7f8c8d;
    font-style: italic;
}

/* Feature Tags */
.feature-tag {
    display: inline-block;
    background: #e8f5e8;
    color: #27ae60;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.crypto-exchanges-table .btn {
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.crypto-exchanges-table .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Widget Footer */
.crypto-widget-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.crypto-widget-footer small {
    color: #95a5a6;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .crypto-homepage-widget-container .section-title {
        font-size: 2rem;
    }
    
    .crypto-exchanges-table .table-responsive {
        border: none;
    }
    
    .crypto-exchanges-table .table thead {
        display: none;
    }
    
    .crypto-exchanges-table .table tbody td {
        display: block;
        text-align: left;
        padding: 10px 15px;
        border: none;
        position: relative;
        padding-left: 50%;
    }
    
    .crypto-exchanges-table .table tbody td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        font-weight: 600;
        color: #2c3e50;
    }
    
    .crypto-exchanges-table .table tbody tr {
        border: 1px solid #e9ecef;
        margin-bottom: 10px;
        border-radius: 8px;
        background: white;
    }
}

/* Animation Effects */
.crypto-homepage-widget-container {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .crypto-homepage-widget-container {
        background: #2c3e50;
    }
    
    .crypto-homepage-widget-container .section-title {
        color: #ecf0f1;
    }
    
    .crypto-homepage-widget-container .section-subtitle {
        color: #bdc3c7;
    }
    
    .crypto-exchanges-table .table {
        background: #34495e;
        color: #ecf0f1;
    }
    
    .crypto-exchanges-table .table tbody tr:hover {
        background-color: #2c3e50;
    }
    
    .crypto-exchanges-table .table tbody td {
        border-bottom-color: #34495e;
    }
}
