* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #131722;
    color: #d1d4dc;
    padding: 20px;
}

/* 数据加载与周期选择区 */
.data-panel {
    background: #1e222d;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #2a2e39;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

#themeSelector {
    background: #1e222d !important;
    color: #d1d4dc !important;
    border: 1px solid #485167 !important;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    outline: none;
}

/* 锁定所有上方控制面板的背景为深色 */
.data-panel, .calendar-panel, .replay-controls {
    background: #1e222d !important;
    border: 1px solid #2a2e39 !important;
}

/* 锁定特定文字颜色，确保在深色背景下可见 */
#loadStatus,
.speed-control span,
.time-display {
    color: #d1d4dc !important; /* 强制浅灰色文字 */
}

/* 周期按钮未选中时的文字颜色 */
.period-btn {
    color: #d1d4dc !important;
}

.load-status {
    color: #868b98;
    font-size: 13px;
    margin-right: 10px;
}

/* 周期选择按钮组 - 带删除功能 */
.period-group {
    display: flex;
    gap: 8px;
    margin: 5px 0;
    max-width: fit-content;
    align-items: center;
}

.period-btn-wrapper {
    position: relative;
    display: inline-block;
}

.period-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background: #2a2e39;
    color: #d1d4dc;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    padding-right: 24px; /* 给删除按钮留空间 */
}

.period-btn.active {
    background: #2962ff;
    color: white;
}

.period-btn:hover:not(.active) {
    background: #383e4e;
}

/* 周期删除按钮 */
.period-delete-btn {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: none;
    border-radius: 50%;
    background: #ef5350;
    color: white;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.period-btn-wrapper:hover .period-delete-btn {
    opacity: 1;
}

.period-delete-btn:hover {
    background: #d32f2f;
}

/* 自定义周期按钮 */
.custom-period-btn {
    padding: 8px 16px;
    border: 1px dashed #485167;
    border-radius: 4px;
    background: transparent;
    color: #868b98;
    cursor: pointer;
    font-size: 14px;
}

.custom-period-btn:hover {
    border-color: #2962ff;
    color: #2962ff;
}

/* 自定义周期弹窗 */
.custom-period-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1e222d;
    border: 1px solid #485167;
    border-radius: 8px;
    padding: 20px;
    z-index: 1000;
    display: none;
}

.modal-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #d1d4dc;
}

.modal-input-group {
    margin-bottom: 15px;
}

.modal-input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #868b98;
}

.modal-input-group input {
    width: 200px;
    padding: 8px 10px;
    background: #2a2e39;
    border: 1px solid #485167;
    border-radius: 4px;
    color: #d1d4dc;
    font-size: 14px;
}

.modal-btns {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.modal-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.modal-confirm {
    background: #2962ff;
    color: white;
}

.modal-cancel {
    background: #485167;
    color: white;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

/* 日历选择区 */
.calendar-panel {
    background: #1e222d;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #2a2e39;
    display: flex;
    align-items: center;
    gap: 15px;
}


.calendar-wrap {
    width: 200px;
}

.calendar-wrap input {
    width: 100%;
    padding: 8px 12px;
    background: #2a2e39;
    border: 1px solid #485167;
    border-radius: 4px;
    color: #d1d4dc;
    font-size: 14px;
}


/* 在 .calendar-panel 的样式中，找到指标开关部分，在后面添加ETH开关样式 */

/* ETH时间段开关 */
.eth-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #485167;
}

.eth-switch label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 14px;
    color: #868b98;
}

.eth-switch input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #2962ff;
}

/* 复盘模式下隐藏ETH开关 */
.replay-mode .eth-switch {
    display: none !important;
}

.replay-control-btns {
    display: flex;
    gap: 10px;
}

.replay-trigger {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background: #2962ff;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

.exit-replay {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background: #ef5350;
    color: white;
    cursor: pointer;
    font-size: 14px;
    display: none; /* 默认隐藏 */
}

/* 复盘控制栏 */
.replay-controls {
    background: #1e222d;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #2a2e39;
    display: none; /* 默认隐藏，点击复盘后显示 */
}

.replay-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background: #2962ff;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.replay-btn:hover {
    background: #1e4bd8;
}

.replay-btn:disabled {
    background: #485167;
    cursor: not-allowed;
}

.speed-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.speed-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 4px;
    background: #2a2e39;
    color: #d1d4dc;
    cursor: pointer;
}

.speed-btn.active {
    background: #2962ff;
    color: white;
}

.time-display {
    background: #2a2e39;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: monospace;
    min-width: 180px;
    text-align: center;
}

.marker-btn {
    padding: 6px 12px;
    border: 1px solid #485167;
    border-radius: 4px;
    background: transparent;
    color: #d1d4dc;
    cursor: pointer;
}

.marker-btn.active {
    background: #2962ff;
    border-color: #2962ff;
}

/* 图表容器 */
#chart {
    width: 100%;
    height: 700px;
}

/* 强制保持控制栏为深色背景 */
.calendar-panel, .replay-controls {
    background: #1e222d !important; /* 保持深色背景 */
    border: 1px solid #2a2e39 !important;
}

/* 时间显示框基础样式 */
.time-display {
    background: #2a2e39 !important;
    color: #d1d4dc !important; /* 初始为浅色文字 */
}

/* 速度文字基础样式 */
.speed-control span {
    color: #d1d4dc !important;
}


/* flatpickr 日历样式适配 */
.flatpickr-calendar {
    background: #2a2e39 !important;
    border: 1px solid #485167 !important;
}

.flatpickr-day {
    background: #383e4e !important;
    color: #d1d4dc !important;
    border: none !important;
}

.flatpickr-day:hover {
    background: #2962ff !important;
}

.flatpickr-day.selected, .flatpickr-day.today {
    background: #2962ff !important;
    color: white !important;
}

.flatpickr-month {
    background: #2a2e39 !important;
    color: #d1d4dc !important;
}

.flatpickr-next-month, .flatpickr-prev-month {
    color: #d1d4dc !important;
}

/* 交易管理面板样式 - 美化版 */
.trade-management-panel {
    background: #1e222d;
    border: 1px solid #2a2e39;
    border-radius: 12px;
    margin-top: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.trade-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #2a2e39;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #868b98;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.tab-btn:hover {
    color: #d1d4dc;
    background: #2a2e39;
}

.tab-btn.active {
    background: #2962ff;
    color: white;
    box-shadow: 0 4px 10px rgba(41, 98, 255, 0.3);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #2962ff;
    border-radius: 50%;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

.trade-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    font-size: 14px;
}

.trade-table th {
    text-align: left;
    padding: 12px 8px;
    color: #868b98;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trade-table td {
    padding: 12px 8px;
    background: #252a36;
    border-radius: 8px;
    color: #d1d4dc;
    transition: all 0.2s ease;
}

.trade-table tr:hover td {
    background: #2f3542;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.trade-table .empty-message {
    text-align: center;
    color: #868b98;
    padding: 40px;
    background: transparent !important;
    font-style: italic;
    transform: none !important;
    box-shadow: none !important;
}

.trade-table .profit {
    color: #26a69a;
    font-weight: 600;
}

.trade-table .loss {
    color: #ef5350;
    font-weight: 600;
}

.close-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: #ef5350;
    color: white;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(239, 83, 80, 0.3);
}

.close-btn:hover {
    background: #d32f2f;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 83, 80, 0.5);
}

/* 统计分析样式 - 卡片式设计 */
.analysis-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(145deg, #252a36, #1e222d);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    border: 1px solid #2a2e39;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2962ff, #26a69a);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: #2962ff;
}

.stat-label {
    color: #868b98;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    color: #d1d4dc;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.stat-value.profit {
    color: #26a69a;
    text-shadow: 0 0 10px rgba(38, 166, 154, 0.3);
}

.stat-value.loss {
    color: #ef5350;
    text-shadow: 0 0 10px rgba(239, 83, 80, 0.3);
}

/* 月度盈亏图表样式 */
.analysis-chart {
    background: #252a36;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #2a2e39;
}

.analysis-subtitle {
    color: #d1d4dc;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analysis-subtitle::before {
    content: '📊';
    font-size: 18px;
}

.bar-chart {
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
    background: #1e222d;
    border-radius: 8px;
    overflow-x: auto;
}

.bar-container {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 50px;
}

.bar {
    width: 36px;
    background: linear-gradient(180deg, #2962ff, #1e4bd8);
    border-radius: 6px 6px 0 0;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -2px 10px rgba(41, 98, 255, 0.3);
}

.bar.profit {
    background: linear-gradient(180deg, #26a69a, #1e7e74);
    box-shadow: 0 -2px 10px rgba(38, 166, 154, 0.3);
}

.bar.loss {
    background: linear-gradient(180deg, #ef5350, #c62828);
    box-shadow: 0 -2px 10px rgba(239, 83, 80, 0.3);
}

.bar-value {
    color: #d1d4dc;
    font-size: 12px;
    font-weight: 600;
    background: #2a2e39;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 50px;
    text-align: center;
}

.bar-label {
    color: #868b98;
    font-size: 12px;
    font-weight: 500;
    transform: rotate(0deg);
    white-space: nowrap;
    background: #1e222d;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid #2a2e39;
}

/* 表格内方向图标样式 */
.trade-table td:first-child {
    font-weight: 500;
}

.trade-table td:first-child:contains('多单') {
    color: #26a69a;
}

.trade-table td:first-child:contains('空单') {
    color: #ef5350;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .analysis-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .trade-table {
        font-size: 12px;
    }

    .trade-table th,
    .trade-table td {
        padding: 8px 4px;
    }

    .bar-chart {
        gap: 10px;
    }

    .bar-container {
        width: 40px;
    }

    .bar {
        width: 28px;
    }
}

#orderActionPopup {
    position: absolute;
    display: none;
    z-index: 10000 !important; /* 确保最高层级 */
    gap: 5px;
    background: #1e222d;
    border: 2px solid #2962ff; /* 加粗边框，更容易看到 */
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

#orderActionPopup button {
    padding: 8px 12px; /* 稍微增大按钮 */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 70px; /* 增大最小宽度 */
    margin: 2px;
}

#orderActionPopup button:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#addTP {
    background: #26a69a;
    color: white;
}

#addSL {
    background: #ef5350;
    color: white;
}

#cancelOrder {
    background: #868b98;
    color: white;
}

/* 取消挂单按钮样式 */
#cancelOrderBtn {
    position: absolute;
    display: none;
    z-index: 10000;
    background: #ef5350;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(239, 83, 80, 0.4);
    transition: all 0.2s ease;
    pointer-events: auto;
    border: 1px solid #ff8a80;
}

#cancelOrderBtn:hover {
    background: #d32f2f;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(239, 83, 80, 0.6);
}

#cancelOrderBtn::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 6px 0;
    border-color: transparent #ef5350 transparent transparent;
}

#cancelOrderBtn:hover::before {
    border-color: transparent #d32f2f transparent transparent;
}
/* ========== 响应式适配 ========== */

/* 基础响应式调整 */
@media screen and (max-width: 1200px) {
    .data-panel, .calendar-panel {
        flex-wrap: wrap;
    }

    .period-group {
        flex-wrap: wrap;
    }
}

/* 平板适配 */
@media screen and (max-width: 992px) {
    body {
        padding: 10px;
    }

    #chart {
        height: 500px;
    }

    .calendar-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .calendar-wrap {
        width: 100%;
    }

    .replay-control-btns {
        width: 100%;
        justify-content: space-between;
    }

    .replay-trigger, .exit-replay {
        flex: 1;
        text-align: center;
    }

    #tradePanel {
        flex-wrap: wrap;
        justify-content: center;
    }

    #tradePanel button {
        flex: 1;
        min-width: 120px;
    }

    .replay-controls {
        flex-wrap: wrap;
    }

    .replay-btn {
        flex: 1;
    }

    .speed-control {
        width: 100%;
        justify-content: center;
    }

    .analysis-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 手机横屏适配 */
@media screen and (max-width: 768px) {
    body {
        padding: 8px;
    }

    .data-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .period-group {
        justify-content: center;
    }

    .period-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .custom-period-btn {
        width: 100%;
        text-align: center;
    }

    #chart {
        height: 400px;
    }

    .trade-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        padding: 8px 12px;
        font-size: 13px;
        text-align: center;
    }

    .trade-table {
        font-size: 12px;
    }

    .trade-table th,
    .trade-table td {
        padding: 8px 4px;
    }

    .close-btn {
        padding: 4px 8px;
        font-size: 11px;
    }

    .analysis-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 15px 10px;
    }

    .stat-value {
        font-size: 20px;
    }

    .bar-chart {
        gap: 10px;
    }

    .bar-container {
        width: 40px;
    }

    .bar {
        width: 28px;
    }

    #orderActionPopup {
        max-width: 200px;
    }

    #orderActionPopup button {
        padding: 6px 8px;
        min-width: 50px;
        font-size: 11px;
    }

    #chart-container {
        width: 100%;
        height: 50%; /* 或者使用 50vh 确保占屏幕一半 */
        position: relative;
        overflow: hidden;
        margin-bottom: 15px;
    }

    #chart {
        width: 100% !important;
        height: 100% !important; /* 强制填满父容器 */
    }

    /* 2. 确保交易面板在文档流中正常排队 */
    .trade-management-panel {
        position: relative;
        z-index: 1; /* 确保层级正常 */
        margin-top: 10px;
        clear: both; /* 清除可能的浮动影响 */
    }

    /* 3. 修复可能导致遮挡的绝对定位元素 */
    #tradePanel {
        position: static !important; /* 在手机端取消绝对定位，改回标准流 */
        margin: 10px 0;
        transform: none !important;
    }
}

/* 手机竖屏适配 */
@media screen and (max-width: 576px) {
    body {
        padding: 5px;
    }

    .data-panel, .calendar-panel {
        padding: 10px;
    }

    .period-btn {
        padding: 5px 10px;
        font-size: 12px;
        padding-right: 20px;
    }

    .period-delete-btn {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }

    #chart {
        height: 350px;
    }

    .replay-controls {
        padding: 10px;
    }

    .replay-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .speed-btn {
        width: 25px;
        height: 25px;
        font-size: 11px;
    }

    .time-display {
        min-width: 140px;
        font-size: 12px;
    }

    .trade-management-panel {
        padding: 10px;
    }

    .trade-table {
        font-size: 11px;
    }

    .trade-table th {
        font-size: 11px;
        padding: 8px 2px;
    }

    .trade-table td {
        padding: 6px 2px;
    }

    .trade-table td:first-child {
        font-size: 16px;
    }

    .close-btn {
        padding: 3px 6px;
        font-size: 10px;
    }

    .analysis-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 12px 10px;
    }

    .stat-value {
        font-size: 18px;
    }

    .bar-chart {
        gap: 5px;
    }

    .bar-container {
        width: 30px;
    }

    .bar {
        width: 20px;
    }

    .bar-value {
        font-size: 10px;
        padding: 2px 4px;
        min-width: 35px;
    }

    .bar-label {
        font-size: 10px;
        padding: 2px 4px;
    }

    #themeSelector {
        padding: 6px 8px;
        font-size: 12px;
    }

    #cancelOrderBtn {
        padding: 3px 6px;
        font-size: 11px;
    }

    #orderActionPopup {
        max-width: 160px;
    }

    #orderActionPopup button {
        padding: 5px 6px;
        min-width: 40px;
        font-size: 10px;
    }
}
.period-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    padding-right: 1.5rem;
}

.trade-management-panel {
    padding: 1.25rem;
}
/* 超小屏幕适配 */
@media screen and (max-width: 360px) {
    #chart {
        height: 300px;
    }

    .period-btn {
        padding: 4px 8px;
        font-size: 11px;
        padding-right: 16px;
    }

    .replay-btn {
        padding: 5px 8px;
        font-size: 11px;
    }

    .speed-btn {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }

    .time-display {
        min-width: 120px;
        font-size: 11px;
    }

    .trade-table td:first-child {
        font-size: 14px;
    }
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
    .period-btn:hover:not(.active) {
        background: #2a2e39; /* 移除了hover效果 */
    }

    .period-btn:active:not(.active) {
        background: #383e4e; /* 添加点击效果 */
    }

    .replay-btn:hover {
        background: #2962ff; /* 保持颜色不变 */
    }

    .replay-btn:active {
        background: #1e4bd8; /* 添加点击效果 */
    }

    .close-btn:hover {
        background: #ef5350;
    }

    .close-btn:active {
        background: #d32f2f;
    }

    /* 增大点击区域 */
    .period-delete-btn {
        width: 20px;
        height: 20px;
        font-size: 12px;
        opacity: 1; /* 移动端始终显示 */
    }

    .small-btn {
        padding: 6px 10px;
    }

    .cancel-order-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
        line-height: 28px;
    }
}

:root {
    font-size: 16px;
}

@media screen and (max-width: 992px) {
    :root {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    :root {
        font-size: 14px;
    }
}

@media screen and (max-width: 576px) {
    :root {
        font-size: 13px;
    }
}
