/**
 * 具象汇率大师 - 小工具样式
 * 专门用于小工具的前台样式 - 已移除所有白色背景
 */

/* ============================================================
   汇率表格小工具
   ============================================================ */
.nextick-pro-currency-table-widget {
    margin-bottom: 15px;
}

.nextick-pro-currency-table-widget .nextick-pro-currency-table {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
}

.nextick-pro-currency-table-widget .nextick-pro-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nextick-pro-currency-table-widget .nextick-pro-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent !important;
}

.nextick-pro-currency-table-widget .nextick-pro-table thead th {
    background: transparent !important;
    padding: 6px 10px;
    text-align: left;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 0.3px;
}

.nextick-pro-currency-table-widget .nextick-pro-table tbody td {
    padding: 5px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 13px;
    background: transparent !important;
}

.nextick-pro-currency-table-widget .nextick-pro-table tbody tr:hover td {
    background: rgba(0,0,0,0.02) !important;
}

.nextick-pro-currency-table-widget .nextick-pro-table tbody tr:last-child td {
    border-bottom: none;
}

.nextick-pro-currency-table-widget .nextick-pro-table .nextick-up {
    color: #e74c3c;
    font-weight: 600;
}

.nextick-pro-currency-table-widget .nextick-pro-table .nextick-down {
    color: #27ae60;
    font-weight: 600;
}

.nextick-pro-currency-table-widget .nextick-pro-table .nextick-flat {
    color: #999;
}

.nextick-pro-currency-table-widget .nextick-pro-flag {
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 6px;
}

.nextick-pro-currency-table-widget .nextick-pro-flag.circular {
    border-radius: 50%;
}

.nextick-pro-currency-table-widget .nextick-pro-flag.square {
    border-radius: 4px;
}

.nextick-pro-currency-table-widget .nextick-pro-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: transparent !important;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.nextick-pro-currency-table-widget .nextick-pro-refresh-btn {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 2px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 11px;
    color: #555;
}

.nextick-pro-currency-table-widget .nextick-pro-refresh-btn:hover {
    background: rgba(0,0,0,0.08);
}

/* ============================================================
   货币转换器小工具
   ============================================================ */
.nextick-pro-currency-converter-widget {
    margin-bottom: 15px;
}

.nextick-pro-currency-converter-widget .nextick-pro-converter-container {
    padding: 4px 0;
}

.nextick-pro-currency-converter-widget .nextick-pro-converter-input {
    width: 100%;
    padding: 6px 10px;
    font-size: 16px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    box-sizing: border-box;
    margin-bottom: 10px;
    background: transparent !important;
}

.nextick-pro-currency-converter-widget .nextick-pro-converter-input:focus {
    border-color: #4a6cf7;
    outline: none;
}

.nextick-pro-currency-converter-widget .nextick-pro-converter-selects {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.nextick-pro-currency-converter-widget .nextick-pro-converter-selects label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.nextick-pro-currency-converter-widget .nextick-pro-converter-select {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    background: transparent !important;
    font-size: 13px;
}

.nextick-pro-currency-converter-widget .nextick-pro-converter-swap-btn {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.2s;
    margin-top: 16px;
}

.nextick-pro-currency-converter-widget .nextick-pro-converter-swap-btn:hover {
    background: rgba(0,0,0,0.08);
    transform: rotate(180deg);
}

.nextick-pro-currency-converter-widget .nextick-pro-converter-result {
    background: transparent !important;
    padding: 10px 14px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    border: 1px solid rgba(0,0,0,0.1);
}

.nextick-pro-currency-converter-widget .nextick-pro-converter-result-label {
    color: #888;
    font-weight: 500;
}

.nextick-pro-currency-converter-widget .nextick-pro-converter-result-value {
    font-weight: 700;
    font-size: 18px;
    color: inherit;
    margin-left: 6px;
}

/* ============================================================
   小工具响应式
   ============================================================ */
@media (max-width: 480px) {
    .nextick-pro-currency-table-widget .nextick-pro-table {
        font-size: 12px;
    }

    .nextick-pro-currency-table-widget .nextick-pro-table thead th,
    .nextick-pro-currency-table-widget .nextick-pro-table tbody td {
        padding: 4px 8px;
    }

    .nextick-pro-currency-converter-widget .nextick-pro-converter-selects {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .nextick-pro-currency-converter-widget .nextick-pro-converter-swap-btn {
        margin: 0 auto;
        width: 36px;
        height: 36px;
    }

    .nextick-pro-currency-converter-widget .nextick-pro-converter-input {
        font-size: 14px;
    }

    .nextick-pro-currency-converter-widget .nextick-pro-converter-result-value {
        font-size: 16px;
    }
}

/* ============================================================
   小工具通用样式
   ============================================================ */
.nextick-pro-widget {
    margin-bottom: 12px;
}

.nextick-pro-widget .nextick-pro-widget-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #4a6cf7;
}

.nextick-pro-widget .nextick-pro-widget-footer {
    font-size: 11px;
    color: #999;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent !important;
}

.nextick-pro-widget .nextick-pro-widget-footer a {
    color: #4a6cf7;
    text-decoration: none;
}

.nextick-pro-widget .nextick-pro-widget-footer a:hover {
    text-decoration: underline;
}

/* ============================================================
   小工具颜色变量
   ============================================================ */
:root {
    --nextick-widget-primary: #4a6cf7;
    --nextick-widget-success: #27ae60;
    --nextick-widget-danger: #e74c3c;
    --nextick-widget-warning: #f39c12;
    --nextick-widget-border: rgba(0,0,0,0.1);
    --nextick-widget-bg: transparent;
    --nextick-widget-text: inherit;
    --nextick-widget-text-light: #888;
}