/* Biniqo Tools Styles */
.biniqo-rates-container, .biniqo-converter-box, .biniqo-calc-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.rates-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.base-currency-wrapper {
    width: 100%;
    max-width: 400px;
}

.base-currency-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: all 0.3s;
    background: #fff;
    color: #003366;
    cursor: pointer;
    text-align: center;
}

.base-currency-wrapper select:focus {
    border-color: #003366;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}

.rate-box {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.rate-box:hover { transform: translateY(-3px); box-shadow: 0 5px 10px rgba(0,0,0,0.05); }
.rate-flag { margin-bottom: 10px; }
.rate-flag img { border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.flag-placeholder { width: 30px; height: 20px; background: #e2e8f0; margin: 0 auto; border-radius: 3px; font-size: 10px; line-height: 20px; color: #64748b; }
.rate-code { font-weight: 800; color: #003366; font-size: 18px; line-height: 1.2; }
.rate-name { font-size: 12px; color: #64748b; margin-bottom: 8px; }
.rate-value { font-size: 20px; font-weight: 700; color: #10b981; }
.rate-up { color: #10b981; font-weight: bold; font-size: 14px; }
.rate-down { color: #ef4444; font-weight: bold; font-size: 14px; }

.biniqo-btn {
    background: #003366;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    transition: 0.3s;
}
.biniqo-btn:hover { background: #001a33; }

.conv-row { display: flex; align-items: center; gap: 10px; margin: 15px 0; }
.conv-group, .calc-group { flex: 1; margin-bottom: 15px; }
.conv-group label, .calc-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 14px; }
.conv-group input, .conv-group select, .calc-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.conv-swap { color: #003366; font-size: 18px; cursor: pointer; }
.conv-result, .calc-result {
    margin-top: 20px;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    color: #003366;
    display: none;
}

@media (max-width: 768px) {
    .rates-grid { grid-template-columns: repeat(2, 1fr); }
    .conv-row { flex-direction: column; }
}
