@import "tailwindcss";

/* Basic Styles */
@theme {
    --color-dark-50: #f0f4f8;
    --color-dark-100: #d9e2ec;
    --color-dark-200: #bcccdc;
    --color-dark-300: #9fb3c8;
    --color-dark-400: #829ab1;
    --color-dark-500: #627d98;
    --color-dark-600: #486581;
    --color-dark-700: #334e68;
    --color-dark-800: #1f3a52;
    --color-dark-850: #152e44;
    --color-dark-900: #0f2335;
    --color-dark-950: #0a1929;

    --color-primary-50: #e0f0ff;
    --color-primary-100: #baddff;
    --color-primary-200: #8ac6ff;
    --color-primary-300: #55aaff;
    --color-primary-400: #2b8fff;
    --color-primary-500: #0a6fff;
    --color-primary-600: #0055cc;
    --color-primary-700: #0041a1;
    --color-primary-800: #002e78;
    --color-primary-900: #001d52;

    --font-sans: 'Vazir', Inter, system-ui, sans-serif;
}

@font-face {
    font-family: 'Vazir';
    src: url('./assets/WebFonts/Vazir/Vazirmatn-Bold.woff2') format('woff2');
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Background Styles */
/* .bg-grid {
  background-image:
    linear-gradient(to right, rgba(10, 111, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 111, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridShift 3s linear infinite;
}

@keyframes gridShift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
} */

.main-bg {
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.33) 0%, rgba(15, 35, 53, 0.478) 100%),
        url('./assets/media/photo-1644088379091-d574269d422f.avif') center / cover no-repeat;

}


/* SideBar Styles */

#collapseToggle {
    position: absolute;
    top: 3rem;
    left: 0;
    transform: translateX(-50%);
    transition: all .2s ease;
}

#collapseToggle:active {
    scale: .8;
}

#collapseToggle:hover {
    transform: translateX(-50%) scale(1.08);
}

#collapseIcon {
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

#collapseIcon.rotate-180 {
    transform: rotate(180deg);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sidebar-active {
    position: relative;
    background: linear-gradient(to left, rgba(10, 111, 255, 0.1), transparent);
    color: #8ac6ff;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.2), 0 10px 15px -3px rgba(10, 111, 255, 0.1);
}

.sidebar-active i {
    color: #55aaff;
}

.sidebar-active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background-color: #2b8fff;
    border-radius: 9999px;
}

.submenu-open {
    max-height: 1000px !important;
}

.sidebar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 9999px;
    background: rgba(10, 111, 255, 0.15);
    color: #8ac6ff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.sidebar-badge:hover {
    background: rgba(10, 111, 255, 0.3);
    color: #ffffff;
}

/* Notifications Modal Styles */

.notification-item.removing {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

#closeNotificationModal {
    width: 25px;
    height: 25px;
    padding: 3px;
    border-radius: 5px;
}

.notification-feed-wrapper {
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.notification-feed {
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.feed-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.feed-item:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.importance-option {
    position: relative;
}

.importance-option:has(input:checked) {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--imp-color);
    box-shadow: 0 0 12px -3px var(--imp-color);
}

.importance-option input:checked~.importance-icon {
    background: var(--imp-color);
    color: white;
    border-color: var(--imp-color);
    box-shadow: 0 0 10px -2px var(--imp-color);
}

.importance-option input:checked~.importance-text {
    color: white;
    font-weight: 500;
}

/* Dashboard Styles */
@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.5s ease-out forwards;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s ease-out 0.5s forwards;
}

/* List Styles */

.row-selection-btn {
    padding: 6px 10px 5px 5px;
}


/* Login Page styles */

#phoneCard {
    height: 14rem;
}


/* Management Page Styles */

.tab-btn.active {
    color: #55aaff;
    background: rgba(10, 111, 255, 0.1);
    border-bottom-color: #0a6fff;
}

.status-option.active {
    border-color: #0a6fff;
    background: rgba(10, 111, 255, 0.05);
}

.status-option.active .inner-dot {
    opacity: 1;
}

.status-option.active.red {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}



/* group-creating Page Styles */
.permission-card {
    transition: all 0.4s ease;
    transform-origin: top;
}

.permission-card-enter {
    opacity: 0;
    transform: scaleY(0.8);
    max-height: 0;
    margin: 0;
    padding: 0;
    border-width: 0;
    overflow: hidden;
}

.permission-card-active {
    opacity: 1;
    transform: scaleY(1);
    max-height: 500px;
}

/* Member List Page Styles */

.task-card {
    transition: all 0.4s ease;
    transform-origin: top;
}

.task-card-enter {
    opacity: 0;
    transform: scaleY(0.8);
    max-height: 0;
    margin: 0;
    padding: 0;
    border-width: 0;
    overflow: hidden;
}

.task-card-active {
    opacity: 1;
    transform: scaleY(1);
    max-height: 800px;
}

/* Notes PAge Styles */

.glass-note {
    width: 220px;
    height: 300px;
    box-shadow: 0 10px 30px rgba(10, 111, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(43, 143, 255, 0.08), rgba(10, 112, 255, 0.03));
    backdrop-filter: blur(14px);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}

.note-hover-text {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.7em;
    font-weight: 400;
    z-index: 5;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.glass-note:hover .note-hover-text {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.note-inner {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(10, 111, 255, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 40px 18px;
    box-sizing: border-box;
}

.glass-note:hover .note-inner {
    transform: translateY(-25px);
    box-shadow: 0 25px 45px rgba(10, 111, 255, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.note-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.note-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(43, 143, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8ac6ff;
    font-size: 1em;
}

.note-title {
    color: #ffffff;
    font-size: 1em;
    font-weight: 600;
    margin: 0;
}

.note-body {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 5px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.note-body::-webkit-scrollbar {
    width: 4px;
}

.note-body::-webkit-scrollbar-track {
    background: transparent;
}

.note-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.note-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}

.note-text {
    color: #e0e7ff;
    font-size: 0.8em;
    line-height: 1.7;
    font-weight: 400;
    text-align: right;
    direction: rtl;
    margin: 0;
}

.note-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7em;
    direction: rtl;
}

.note-footer i {
    font-size: 0.9em;
}

.note-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    transition: opacity 0.3s ease;
}

.note-action-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    font-size: 0.85em;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.note-action-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 8px rgba(10, 111, 255, 0.2);
}


/* User Management Page Styles */

#imagePlaceholder:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(10, 111, 255, 0.4);
}

#imagePlaceholder:hover i {
    color: #8ac6ff;
}

.access-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.access-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.access-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(10, 111, 255, 0.5);
    border-radius: 10px;
}

.access-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 111, 255, 0.8);
}

.access-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(10, 111, 255, 0.5) rgba(255, 255, 255, 0.05);
}

/* User Page styles */

.type-btn {
    cursor: pointer;
    border: 1px solid transparent;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.type-view {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.25);
}

.type-view:hover {
    background: rgba(59, 130, 246, 0.3);
    color: #bfdbfe;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

.type-delete {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.25);
}

.type-delete:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #fecaca;
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

.type-edit {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.25);
}

.type-edit:hover {
    background: rgba(245, 158, 11, 0.3);
    color: #fde68a;
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}


/* Discusion Page Styles */

.active-chat {
    background: rgba(10, 111, 255, 0.1);
    border-right: 3px solid #0a6fff;
}

.user-message {
    border-radius: 15px;
    border-bottom-right-radius: 3px;
}

.my-message {
    border-radius: 15px;
    border-bottom-left-radius: 3px;
}


/* Monitoring Page Styles */

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.monitor-iframe {
    width: 1440px;
    height: 810px;

    border: 0;
    transform-origin: top left;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* Projects Page Styles */

.member-card {
    transition: all 0.2s ease;
    cursor: pointer;
}

.member-card.selected {
    background: rgba(10, 111, 255, 0.1);
    border-color: rgba(10, 111, 255, 0.3);
    box-shadow: 0 0 12px rgba(10, 111, 255, 0.15);
}

.member-card .check-icon {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.member-card.selected .check-icon {
    opacity: 1;
    transform: scale(1);
}

.board-column {
    height: calc(100vh - 220px);
    max-height: 500px;
}

.task-list {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.task-list::-webkit-scrollbar {
    width: 4px;
}

.task-list::-webkit-scrollbar-track {
    background: transparent;
}

.task-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.sortable-ghost {
    opacity: 0.3;
    background: rgba(10, 111, 255, 0.15) !important;
    border: 2px dashed rgba(10, 111, 255, 0.4) !important;
}

.sortable-chosen {
    box-shadow: 0 0 30px rgba(10, 111, 255, 0.5);
}

#editTaskAssignees {
    gap: 0.5rem;
}

#editTaskAssignees label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
    cursor: pointer;
}

#editTaskAssignees label:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

#editTaskAssignees label:has(input:checked) {
    background: rgba(10, 111, 255, 0.12);
    border-color: rgba(10, 111, 255, 0.35);
    box-shadow: 0 0 12px rgba(10, 111, 255, 0.15);
}

#editTaskAssignees input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #0a6fff;
    border-radius: 0.3rem;
    cursor: pointer;
}

#editTaskAssignees img {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

#editTaskAssignees span {
    font-size: 0.875rem;
    color: #d1d5db;
    font-weight: 500;
}

#editTaskAssignees input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

#editTaskAssignees label:hover input[type="checkbox"] {
    border-color: rgba(10, 111, 255, 0.6);
}

#editTaskAssignees input[type="checkbox"]:checked {
    background: #0a6fff;
    border-color: #0a6fff;
    box-shadow: 0 0 8px rgba(10, 111, 255, 0.4);
}


/* Mails Page Styles */
.member-select-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.member-select-card.selected {
    background: rgba(10, 111, 255, 0.15);
    border-color: rgba(10, 111, 255, 0.4);
    box-shadow: 0 0 10px rgba(10, 111, 255, 0.2);
}

.member-select-card .check-icon {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.member-select-card.selected .check-icon {
    opacity: 1;
    transform: scale(1);
}

.member-select-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
}

.member-select-card.selected {
    background: rgba(10, 111, 255, 0.15);
    border-color: rgba(10, 111, 255, 0.4);
    box-shadow: 0 0 10px rgba(10, 111, 255, 0.2);
}

.member-select-card .check-icon {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
    margin-left: auto;
}

.member-select-card.selected .check-icon {
    opacity: 1;
    transform: scale(1);
}


/* Calender Page Styles */

.calendar-weeks {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cal-week {
    position: relative;
}

.cal-week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.cal-cell {
    min-height: 132px;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.4rem;
    position: relative;
    transition: background 0.2s, border-color 0.2s;
    overflow: hidden;
    cursor: pointer;
}

.cal-cell:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.cal-cell.today {
    background: rgba(10, 111, 255, 0.12);
    border-color: rgba(10, 111, 255, 0.35);
    box-shadow: 0 0 15px rgba(10, 111, 255, 0.15);
}

.cal-cell.empty {
    background: transparent;
    border-color: transparent;
    pointer-events: none;
    cursor: default;
}

.cal-day-number {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    font-weight: 500;
    line-height: 1;
}

.cal-week-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: 20px;
    gap: 0.25rem;
    padding: 1.6rem 0 0.4rem;
    pointer-events: none;
}

.task-bar {
    grid-row: var(--lane);
    height: 20px;
    display: flex;
    align-items: center;
    padding: 0 0.4rem;
    margin: 0 1px;
    font-size: 0.62rem;
    line-height: 1;
    color: #d0e2ff;
    background: linear-gradient(90deg, rgba(10, 111, 255, 0.38), rgba(10, 111, 255, 0.2));
    border: 1px solid rgba(10, 111, 255, 0.4);
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    pointer-events: auto;
    transition: filter 0.2s, transform 0.15s;
}

.task-bar:hover {
    filter: brightness(1.3);
    transform: translateY(-1px);
}

.task-bar.cap-start {
    border-start-start-radius: 999px;
    border-end-start-radius: 999px;
}

.task-bar.cap-end {
    border-start-end-radius: 999px;
    border-end-end-radius: 999px;
}

.overflow-bar {
    grid-row: var(--lane);
    height: 20px;
    margin: 0 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-size: 0.62rem;
    font-weight: 600;
    color: #e3d0ff;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.32), rgba(168, 85, 247, 0.18));
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 999px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    pointer-events: auto;
    transition: filter 0.2s, transform 0.15s;
}

.overflow-bar:hover {
    filter: brightness(1.25);
    transform: translateY(-1px);
}

.overflow-bar.flat-start {
    border-start-start-radius: 0;
    border-end-start-radius: 0;
}

.overflow-bar.flat-end {
    border-start-end-radius: 0;
    border-end-end-radius: 0;
}

.member-select-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.member-select-card.selected {
    background: rgba(10, 111, 255, 0.15);
    border-color: rgba(10, 111, 255, 0.4);
    box-shadow: 0 0 10px rgba(10, 111, 255, 0.2);
}

.member-select-card .check-icon {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.member-select-card.selected .check-icon {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 640px) {
    .cal-cell {
        min-height: 100px;
        padding: 0.3rem;
    }

    .cal-day-number {
        font-size: 0.65rem;
    }

    .cal-week-overlay {
        grid-auto-rows: 16px;
        gap: 0.2rem;
        padding: 1.3rem 0 0.3rem;
    }

    .task-bar {
        height: 16px;
        font-size: 0.55rem;
        padding: 0 0.3rem;
        border-radius: 3px;
    }

    .overflow-bar {
        height: 16px;
        font-size: 0.53rem;
    }
}

@media (max-width: 400px) {
    .cal-cell {
        min-height: 88px;
    }

    .cal-day-number {
        font-size: 0.6rem;
    }

    .cal-week-overlay {
        grid-auto-rows: 14px;
        gap: 0.15rem;
        padding: 1.15rem 0 0.25rem;
    }

    .task-bar {
        height: 14px;
        font-size: 0.5rem;
        padding: 0 0.25rem;
    }

    .overflow-bar {
        height: 14px;
        font-size: 0.48rem;
    }
}