/* Forex Exchange Rates frontend styles. */

/* Extracted from legacy inline block at line 5331. */
.forex-shortcode { padding: 20px; background: #f9f9f9; border-radius: 8px; }
        
        /* DataTables Footer with Show Entries, Info, and Pagination */
        .forex-table-footer {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            gap: 20px;
            padding: 15px 0;
            margin-top: 15px;
            border-top: 1px solid #e5e7eb;
            flex-wrap: wrap;
        }
        
        /* Show Entries Dropdown (First) */
        .forex-length-menu {
            display: flex;
            align-items: center;
            gap: 8px;
            order: 1;
        }
        
        .forex-length-menu label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #333;
            margin: 0;
            white-space: nowrap;
        }
        
        .forex-length-menu select {
            padding: 6px 30px 6px 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            background: #fff;
            cursor: pointer;
        }
        
        /* Info Text (Second) */
        .forex-info-text {
            font-size: 14px;
            color: #666;
            order: 2;
            white-space: nowrap;
        }
        
        /* Pagination (Third) */
        .forex-pagination {
            display: flex;
            gap: 5px;
            order: 3;
            margin-left: auto;
        }
        
        .forex-pagination .paginate_button {
            padding: 6px 12px;
            border: 1px solid #ddd;
            background: #fff;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            color: #333;
            text-decoration: none;
            transition: all 0.2s;
        }
        
        .forex-pagination .paginate_button:hover {
            background: #f5f5f5;
            border-color: #4a90e2;
        }
        
        .forex-pagination .paginate_button.current {
            background: #4a90e2;
            color: #fff;
            border-color: #4a90e2;
        }
        
        .forex-pagination .paginate_button.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .forex-pagination .paginate_button.disabled:hover {
            background: #fff;
            border-color: #ddd;
        }
        
        /* PDF Table Heading (outside table) */
        .forex-pdf-table-heading {
            text-align: center;
            font-size: 18px;
            font-weight: 700;
            color: #000;
            padding: 15px 20px;
            margin: 15px 0 0 0;
            background: #fff;
            border: 1px solid #ddd;
            border-bottom: 2px solid #2c5282;
        }
        
        /* Statistics Sections & Tabs */
        .forex-statistics-section {
            margin-top: 30px;
            padding: 25px;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
        }
        .forex-stats-group {
            margin-bottom: 30px;
        }
        .forex-stats-group:last-child {
            margin-bottom: 0;
        }
        .forex-stats-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #1a202c;
        }
        .forex-stats-tabs-container {
            display: flex;
            border: 1px solid #cbd5e0;
            border-radius: 4px;
            overflow: hidden;
        }
        .forex-stats-tab-link {
            flex: 1;
            text-align: center;
            padding: 14px 10px;
            text-decoration: none !important;
            color: #4a5568 !important;
            font-size: 14px;
            font-weight: 500;
            background-color: #f7fafc;
            border-right: 1px solid #cbd5e0;
            transition: all 0.2s ease;
        }
        .forex-stats-tab-link:last-child {
            border-right: none;
        }
        .forex-stats-tab-link:hover {
            background-color: #ffffff;
            color: #194c9f !important;
        }
        @media (max-width: 600px) {
            .forex-stats-tabs-container {
                flex-direction: column;
            }
            .forex-stats-tab-link {
                border-right: none;
                border-bottom: 1px solid #cbd5e0;
            }
            .forex-stats-tab-link:last-child {
                border-bottom: none;
            }
        }

        /* Historical Rates Button below table */
        .forex-historical-btn-wrapper {
            display: flex;
            justify-content: center;
            margin-top: 25px;
            margin-bottom: 15px;
            width: 100%;
        }
        .forex-historical-btn {
            display: inline-block;
            padding: 10px 30px;
            border: 1.5px solid #3182ce;
            background-color: #ffffff;
            color: #3182ce !important;
            font-size: 15px;
            font-weight: 600;
            text-decoration: none !important;
            border-radius: 4px;
            transition: all 0.2s ease;
            text-align: center;
        }
        .forex-historical-btn:hover {
            background-color: #3182ce;
            color: #ffffff !important;
        }

/* Extracted from legacy inline block at line 5928. */
/**********new-plugin*****************/
     .forex-widget-container {
        background: #194c9f;
        padding: 25px 20px;
        margin-bottom: 30px;
    }    
    .forex-widget-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }    
    .forex-widget-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    }    
    .forex-widget-icon svg {
        width: 35px;
        height: 35px;
    }    
    .forex-widget-title {
    font-size: 24px;
    line-height: 30px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    margin: 0 !IMPORTANT;
    color: #fff !important;
    }
    .forex-widget-subtitle {
    font-size: 18px !important;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    line-height: 24px !important;
    color: rgba(255, 255, 255, 0.9);
    }
    
    .forex-widget-labels {
        display: flex;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 5px;
        border-radius: 6px;    justify-content: space-between;
    }
    
    .forex-widget-rates {
        display: flex;
        flex-direction: column;
        margin-top: 18px;
    }
    
    .forex-widget-rate-item {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    } 
    img.forex-widget-flag-sec {
    margin-left: -8px; 
}
    .forex-widget-currency {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
        max-width: 120px;
    }
    
    .forex-widget-flag {
        width: 24px;
        height: 18px;
        border-radius: 2px;
        object-fit: cover;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        flex-shrink: 0;
    }
    
    .forex-widget-currency-name {
    font-size: 12px;
    font-weight: 500;
    line-height: 100%;
    font-family: "Poppins", sans-serif;
    color: #fff;
    }
    
    .forex-widget-rate {
    font-size: 12px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    line-height: 100%;
    color: #fff;
    width: 100%;
    max-width: 100px;
    text-align: right; 
    }
    
.forex-widget-footer {
    display: flex;
    margin: 0 !IMPORTANT;
    gap: 10px;
    padding-top: 20px;
    justify-content: space-between;
    align-items: self-start;
    flex-direction: column-reverse;
} 
 .forex-widget-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
        line-height: 20px;
}
    
    .forex-widget-button {
    font-size: 14px !important;
    font-weight: 500;
    line-height: 100%;
    font-family: "Poppins", sans-serif;
    padding: 12px 15px !important;
    gap: 10px !important;
    border-radius: 0 !important;
    background-color: #ffffff;
    color: #1e40af !IMPORTANT;
    display: flex;
    width: 100%;
    max-width: max-content;
    }
     
    .forex-widget-button svg {
        width: 14px;
        height: 14px;
    }
    .forex-widget-labels span {
    font-size: 14px;
    font-weight: 500;
    line-height: 100% !important;
    font-family: "Poppins", sans-serif;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.forex-widget-labels span:last-child {
    text-align: right;
}

.forex-widget-rate-item:first-child {
    padding-top: 0;
}
.forex-widget-currency .forex-img {
    display: flex;
}
.forex-widget-currency .forex-img img {
    width: 100%;
    border-radius: 100px;
    height: 20px;object-fit:cover;
}

.forex-widget-currency,  .forex-widget-labels span:first-child  { 
    max-width: 150px;
}
.forex-widget-rate,  .forex-widget-labels span:last-child  { 
    max-width: 100px; 
}
.forex-widget-container { 
    margin-bottom:unset;
}
.forex-widget-labels {
    display: flex;
       justify-content: space-between;
}
.nother-sec-tiom{
	  margin-bottom:0px !important;
}

/* Former inline style attributes (frontend). */
.forex-u-f-001 { width: 100%; }

/* Print/export header. */
.forex-print-header { text-align: center; margin-bottom: 20px; }
.forex-print-logo { height: 80px; max-width: 200px; }
.forex-print-title { margin: 10px 0; }
.forex-print-source { font-size: 12px; color: #666; }




