/* 莫兰迪色系与全局变量 */
:root {
    --bg-color: #E8E4DE; /* 温暖的浅灰底色 */
    --text-main: #4A4A4A; /* 柔和的深灰文字 */
    --text-muted: #8C8C8C; /* 辅助文字颜色 */
    --primary-color: #8B9D8B; /* 莫兰迪绿 - 主色调 */
    --glass-bg: rgba(255, 255, 255, 0.5); /* 磨砂玻璃背景 */
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --header-height: 50px;
    --nav-height: 60px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* 隐藏所有滚动条但保留滚动功能 */
::-webkit-scrollbar {
    display: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 磨砂玻璃质感 */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* 顶部导航栏 */
#app-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

#header-title {
    font-size: 18px;
    font-weight: 500;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#back-btn {
    background: none;
    border: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-left: -8px;
    cursor: pointer;
}

#back-btn.hidden {
    display: none;
}

#header-right {
    width: 40px; /* 占位，保持标题居中 */
}

/* 主内容区 */
#app-content {
    flex: 1;
    margin-top: var(--header-height);
    margin-bottom: var(--nav-height);
    overflow-y: auto;
    padding: 16px;
}

/* 底部导航栏 */
#bottom-nav {
    height: var(--nav-height);
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom); /* 适配iPhone底部小黑条 */
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    width: 20%;
    transition: color 0.3s ease;
}

.nav-item svg {
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 10px;
}

.nav-item.active {
    color: var(--primary-color);
}

/* 通用视图容器 */
.view-container {
    animation: fadeIn 0.3s ease;
}

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

/* 隐藏元素 */
.hidden {
    display: none !important;
}

/* 记账页面 - 聊天式布局 */
.chat-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

/* 顶部信息区 */
.chat-header {
    padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    z-index: 10;
}

.remarks-center {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    padding: 4px 0;
}

.balance-progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #D98C8C; /* 莫兰迪绿的对比色/互补色，偏莫兰迪红/粉 */
    width: 50%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.balance-text {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.header-settings-icon {
    position: absolute;
    right: 16px;
    top: 16px;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

/* 聊天消息区 */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message-item {
    display: flex;
    flex-direction: row;
    max-width: 80%;
    gap: 8px;
}

.message-item.self {
    align-self: flex-end;
    justify-content: flex-end;
}

.message-item.system {
    align-self: flex-start;
    justify-content: flex-start;
    max-width: 90%;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.message-content-wrapper {
    display: flex;
    flex-direction: column;
}

.message-item.self .message-content-wrapper {
    align-items: flex-end;
}

.message-item.system .message-content-wrapper {
    align-items: flex-start;
}

.message-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.4;
    position: relative;
    word-break: break-all;
}

.message-item.self .message-bubble {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-item.system .message-bubble {
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-muted);
    font-size: 12px;
    border-radius: 12px;
    padding: 6px 12px;
}

/* 贴图气泡样式 */
.bubble-outline {
    background: transparent !important;
    border: 2px solid var(--primary-color);
    color: var(--text-main) !important;
}

.bubble-gradient {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    color: #333 !important;
    border: none;
}

.bubble-shadow {
    background: #fff !important;
    color: #333 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: none;
}

.bubble-square {
    border-radius: 4px !important;
}

.message-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
}

.message-image {
    max-width: 100%;
    border-radius: 12px;
    margin-top: 4px;
}

/* 底部输入区 */
.chat-input-area {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    gap: 10px;
    border-top: 1px solid var(--glass-border);
    background: var(--glass-bg);
    z-index: 10;
    position: relative;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.icon-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.chat-input-wrapper {
    flex: 1;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    position: relative;
}

#chat-input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    color: var(--text-main);
}

/* 自动补全下拉框 */
.autocomplete-panel {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px 12px 0 0;
    max-height: 150px;
    overflow-y: auto;
    z-index: 11;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
    margin-bottom: 10px;
}

.autocomplete-item {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: var(--text-main);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:active {
    background: rgba(0,0,0,0.05);
}

/* 批量记账（购物车）面板 */
.batch-panel {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--glass-border);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}

.batch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 100px;
    overflow-y: auto;
}

.batch-tag {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.batch-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    border-top: 1px dashed var(--glass-border);
    padding-top: 8px;
}

.batch-submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
}

/* 加号菜单面板 */
.plus-menu-panel {
    height: 200px;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    transition: height 0.3s ease;
}

.plus-menu-panel.hidden {
    height: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

.menu-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-row-title {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

.menu-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.menu-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 60px;
    position: relative;
}

.menu-item-delete {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
}

.menu-item-delete:active {
    background: rgba(0, 0, 0, 0.5);
}

/* 自定义弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #F5F3F0; /* 莫兰迪暖白 */
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 20px;
    width: 80%;
    max-width: 300px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'ZCOOL KuaiLe', 'Nunito', sans-serif; /* 可爱字体 */
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #5C5C5C; /* 莫兰迪深灰 */
}

.modal-input {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: #5C5C5C;
    outline: none;
    width: 100%;
    font-family: inherit;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.modal-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.modal-btn.cancel {
    background: #E8ECEB; /* 莫兰迪浅灰绿 */
    color: #8B9D8B;
}

.modal-btn.confirm {
    background: #C2D3C2; /* 莫兰迪绿 */
    color: #FFFFFF;
}

/* 月份选择列表与输入框组 */
.month-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 10px;
}

.month-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-main);
    transition: background 0.2s;
}

.month-item:active {
    background: rgba(255, 255, 255, 0.8);
}

.month-item-delete {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    font-size: 16px;
    line-height: 1;
}

.month-item-delete:active {
    background: rgba(0, 0, 0, 0.15);
    color: #D98C8C;
}

.modal-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.modal-input-group label {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 4px;
}

.menu-item .price-range {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* 长按菜单 */
.context-menu {
    position: fixed;
    background: #4c4c4c;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: row;
    z-index: 1000;
    padding: 0 5px;
    max-width: 90vw; /* 防止在手机上超出屏幕 */
    flex-wrap: wrap; /* 如果选项太多可以换行 */
    justify-content: center;
}

.context-menu-item {
    padding: 10px 15px;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    border-bottom: none;
    border-right: 1px solid #5c5c5c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.context-menu-item:last-child {
    border-right: none;
}

.context-menu-item:active {
    background: #3c3c3c;
}

/* 全屏设置弹窗 */
.full-screen-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-color);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.full-screen-modal.show {
    transform: translateX(0);
}

.settings-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid var(--glass-border);
    padding-top: env(safe-area-inset-top);
    box-sizing: content-box;
}

.settings-tabs {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 16px;
}

.settings-tab {
    font-size: 16px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 0;
    position: relative;
}

.settings-tab.active {
    color: var(--text-main);
    font-weight: 500;
}

.settings-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.settings-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

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

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

/* 环状图区域 */
.donut-chart-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    cursor: pointer;
}

.donut-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.donut-label {
    font-size: 12px;
    color: var(--text-muted);
}

.donut-value {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-main);
    margin-top: 4px;
}

/* 设置列表 */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.settings-item span {
    font-size: 14px;
    color: var(--text-main);
}

.settings-select, .settings-input {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 14px;
    color: var(--text-main);
    outline: none;
}

.settings-input {
    width: 120px;
    text-align: right;
}

.settings-color-picker {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: transparent;
}

.settings-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.settings-btn.cancel {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-main);
}

.settings-btn.danger {
    background: #D98C8C;
    color: white;
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 12px;
    margin-top: 8px;
}

.settings-danger-zone {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 开关按钮 */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(16px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* 小票弹窗 */
.receipt-content {
    background: #fff;
    width: 85%;
    max-width: 320px;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    font-family: "Courier New", Courier, monospace;
    color: #333;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    z-index: 4001;
}

.modal-overlay.show .receipt-content {
    transform: translateY(0);
}

.receipt-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: radial-gradient(circle, transparent, transparent 50%, #fff 50%, #fff 100%) 0 0 / 20px 20px repeat-x;
}

.receipt-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: radial-gradient(circle, transparent, transparent 50%, #fff 50%, #fff 100%) 0 0 / 20px 20px repeat-x;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: bold;
}

.receipt-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.receipt-divider {
    text-align: center;
    color: #999;
    margin: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}

.receipt-list {
    max-height: 200px;
    overflow-y: auto;
    font-size: 14px;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.receipt-summary {
    text-align: center;
    font-weight: bold;
    margin: 12px 0;
}

.receipt-total-savings {
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* =========================================
   Toast & Modal (Morandi Style)
   ========================================= */
.morandi-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(255, 255, 255, 0.95);
    color: #5C5C5C;
    padding: 12px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.morandi-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.morandi-toast.error {
    border-left: 4px solid #D98C8C;
}

.morandi-toast.success {
    border-left: 4px solid var(--primary-color);
}

.morandi-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.morandi-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.morandi-modal {
    background: #F5F7F5;
    border-radius: 16px;
    padding: 24px;
    width: 80%;
    max-width: 320px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: scale(0.95) translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.morandi-modal-overlay.show .morandi-modal {
    transform: scale(1) translateY(0);
}

.morandi-modal-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    text-align: center;
}

.morandi-modal-content {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.5;
    word-break: break-word;
}

.morandi-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.morandi-modal-btn {
    flex: 1;
    padding: 10px 0;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.morandi-modal-btn.cancel {
    background: #E8ECEB;
    color: #5C5C5C;
}

.morandi-modal-btn.cancel:hover {
    background: #D1D9D1;
}

.morandi-modal-btn.confirm {
    background: var(--primary-color);
    color: white;
}

.morandi-modal-btn.confirm:hover {
    background: #7A8C7A;
}

.morandi-modal-btn.danger {
    background: #D98C8C;
    color: white;
}

.morandi-modal-btn.danger:hover {
    background: #C97B7B;
}
