/* ==================== 统一样式系统 ==================== */
/* 书架和阅读书签使用完全统一的类名和样式 */

:root {
  --primary-color: #e60000;
  --primary-light: rgba(230, 0, 0, 0.05);
  --text-color: #333;
  --text-muted: #999;
  --text-light: #666;
  --border-color: #f1f2f4;
  --bg-color: #fff;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* ==================== 布局容器 ==================== */

.library-default {
  display: flex;
  justify-content: space-between;
  width: 1200px;
  margin: 20px auto 0;
  gap: 12px;
  align-items: flex-start;
}

/* ==================== 左侧导航 ==================== */

.library-nav {
  width: 242px;
  background: var(--bg-color);
  border-radius: 12px;
  padding: 29px 24px 0;
  height: fit-content;
  box-shadow: var(--shadow);
  position: sticky;
  top: 128px;
  z-index: 20;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  flex-shrink: 0;
}

.library-nav-item {
  border-top: 1px solid var(--border-color);
  padding: 12px 0;
}

.library-nav-item:first-child {
  border-top: none;
  padding-top: 0;
}

.library-nav-item-title {
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 500;
  line-height: 36px;
  margin-bottom: 6px;
}

.library-nav-item-link {
  display: block;
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 30px;
  padding-left: 17px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.library-nav-item-link:hover {
  color: var(--primary-color);
}

.library-nav-item-link.currNavLink {
  background: var(--primary-light);
  border-radius: 4px;
  color: var(--primary-color);
}

/* 统计卡片 */
.library-stats-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.stat-card-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-value {
  color: var(--primary-color);
  font-family: 'DIN Alternate', 'DIN-Alternate', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

/* ==================== 右侧内容 ==================== */

.library-content {
  background: var(--bg-color);
  border-radius: 12px;
  width: 948px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: calc(100vh - 112px);
}

/* 标题区 */
.library-content-title {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 0 40px;
  min-height: 155px;
}

.library-content-title img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
}

.library-content-title-info {
  position: relative;
  z-index: 2;
  text-align: left;
}

.library-content-name {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;
  color: #d4547a;
}

.library-content-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.library-content-desc {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #888;
  white-space: nowrap;
}

/* 右侧操作 */
.library-content-title-action {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-end;
  white-space: nowrap;
}

.switch-box {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.switch-box-item {
  display: block;
  padding: 8px 20px;
  background: #fff;
  color: #666;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
}

.switch-box-item:hover {
  background: #f5f5f5;
}

.switch-box-item.active {
  background: var(--primary-color);
  color: #fff;
  font-weight: 500;
}

.library-search-btn {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-light);
}

.library-search-btn:hover {
  background: #fff;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* 主内容区 */
.library-content-main {
  margin-top: -31px;
  padding: 0 48px 0 20px;
  position: relative;
  z-index: 20;
}

/* ==================== 书籍列表 ==================== */

.library-modules-works {
  padding: 32px 0 0;
}

.library-modules-works.library-list-mode {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.library-modules-works.library-cover-mode {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  padding: 32px 0;
}

.library-modules-works-item {
  display: flex;
  margin-bottom: 20px;
  padding-left: 35px;
  position: relative;
  transition: background 0.2s ease;
  padding-bottom: 16px;
}

.library-cover-mode .library-modules-works-item {
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
}

.library-modules-works-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.library-cover-mode .library-modules-works-item:hover {
  background: transparent;
}

/* 排名号 */
.library-modules-works-item-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 27px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.library-cover-mode .library-modules-works-item-num {
  position: static;
  width: auto;
  height: auto;
  margin-bottom: 8px;
}

.library-modules-works-item-num .rank-no-text {
  font-weight: 700;
  font-family: 'DIN Alternate', 'DIN-Alternate', sans-serif;
  font-size: 20px;
  color: #c6c4c4;
  width: 27px;
  text-align: center;
}

.library-cover-mode .library-modules-works-item-num .rank-no-text {
  width: auto;
  font-size: 14px;
  color: var(--text-muted);
}

/* 书籍封面 */
.library-modules-works-item-cover {
  width: 96px;
  height: 128px;
  margin-right: 16px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  background: #f6f8fa;
  box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.library-cover-mode .library-modules-works-item-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  margin-right: 0;
  margin-bottom: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.library-modules-works-item-cover:hover {
  transform: translateY(-2px);
}

.library-cover-mode .library-modules-works-item-cover:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.library-modules-works-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 书籍信息 */
.library-modules-works-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 36px 6px 0;
  min-width: 0;
}

.library-cover-mode .library-modules-works-item-content {
  padding: 0;
  justify-content: flex-start;
  text-align: center;
  flex: none;
  width: 100%;
}

.library-modules-works-item-title {
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  text-decoration: none;
  transition: color 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.library-cover-mode .library-modules-works-item-title {
  font-size: 14px;
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.library-modules-works-item-title:hover {
  color: var(--primary-color);
}

.library-modules-works-item-author {
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.library-cover-mode .library-modules-works-item-author {
  font-size: 11px;
  line-height: 1.4;
  margin-top: 4px;
}

/* 状态标签 */
.status-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  border: 1px solid var(--border-color);
  margin-left: 8px;
}

.status-tag.serializing {
  color: #e85f89;
  border-color: #f1d4de;
  background: #fff5f7;
}

.status-tag.completed {
  color: #5b9587;
  border-color: #d9e8e5;
  background: #f0f7f5;
}

.library-modules-works-item-desc {
  color: var(--text-light);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-decoration: none;
  transition: color 0.2s ease;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.library-cover-mode .library-modules-works-item-desc {
  display: none;
}

.library-modules-works-item-desc:hover {
  color: var(--primary-color);
}

.library-modules-works-item-chapter,
.library-modules-works-item-time {
  display: flex;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.library-cover-mode .library-modules-works-item-chapter,
.library-cover-mode .library-modules-works-item-time {
  display: none;
}

/* 右侧按钮 */
.library-modules-works-item-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
  text-align: center;
  flex-shrink: 0;
  min-width: 108px;
  gap: 8px;
}

.library-cover-mode .library-modules-works-item-btn {
  flex-direction: row;
  min-width: 100%;
  gap: 4px;
  margin-top: 8px;
}

.library-modules-works-item-btn-read {
  background: linear-gradient(331deg, #be948a, #c9452e);
  border-radius: 20px;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  height: 35px;
  line-height: 35px;
  width: 108px;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
  text-align: center;
  border: none;
  padding: 0;
}

.library-cover-mode .library-modules-works-item-btn-read {
  width: 100%;
  height: 32px;
  line-height: 32px;
  font-size: 12px;
  flex: 1;
}

.library-modules-works-item-btn-read:hover {
  background: linear-gradient(331deg, #d40000, #ff5000);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.2);
}

.library-modules-works-item-btn-delete {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 400;
  height: 35px;
  line-height: 35px;
  width: 108px;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
  text-align: center;
  padding: 0;
}

.library-cover-mode .library-modules-works-item-btn-delete {
  width: 100%;
  height: 32px;
  line-height: 32px;
  font-size: 11px;
  flex: 1;
}

.library-modules-works-item-btn-delete:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* 空状态 */
.library-modules-works-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 430px;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  fill:#ff9eb8;
}

.library-modules-works-empty svg {
  color: #ddd;
  margin-bottom: 20px;
}

.library-modules-works-empty p {
  margin: 10px 0;
  font-size: 16px;
  color: var(--text-light);
}

.empty-action-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  background: linear-gradient(90deg, #ff9eb8, #ffb3c8);
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.empty-action-btn:hover {
  background: linear-gradient(90deg, #ff7a9a, #ff9eb8);
  box-shadow: 0 4px 12px rgba(255, 100, 150, 0.3);
}

/* ==================== 加载状态 ==================== */

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  color: var(--text-muted);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 14px;
  color: var(--text-muted);
}

.loading-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

/* ==================== 搜索弹窗 ==================== */

.search-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.search-popup .header {
  background: #fff;
  padding: 12px;
  flex-shrink: 0;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-area {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  border-radius: 20px;
  padding: 8px 14px;
}

.search-area .icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-color);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-reset {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-reset:hover {
  color: var(--primary-color);
}

.search-cancel {
  padding: 8px 14px;
  color: var(--text-light);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.search-cancel:hover {
  color: var(--primary-color);
}

/* ==================== 响应式设计 ==================== */

@media (max-width: 1200px) {
  .library-default {
    width: auto;
    margin: 30px 0;
  }
}

@media (max-width: 1024px) {
  .library-default {
    flex-direction: column;
    gap: 20px;
  }

  .library-nav {
    width: 100%;
    height: auto;
    position: relative;
    top: auto;
    z-index: 20;
    max-height: none;
    overflow: visible;
    background: #fff;
    padding: 12px 16px;
    border-radius: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .library-nav-item {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-top: none;
    border: none;
  }

  .library-nav-item:first-child {
    border: none;
    padding-top: 0;
  }

  .library-nav-item-title {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    white-space: nowrap;
  }

  .library-nav-item-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 28px;
    margin: 2px 0;
    padding: 4px 10px;
    border: 1px solid #e9e9ed;
    border-radius: 16px;
    line-height: 18px;
    font-size: 12px;
    white-space: nowrap;
    flex: 1;
  }

  .library-content {
    width: 100%;
    min-height: auto;
  }

  .library-content-title {
    height: 120px;
  }

  .library-content-title img {
    height: 120px;
  }

  .library-content-name {
    font-size: 24px;
  }

  .library-content-main {
    padding: 0 30px;
  }

  .library-modules-works-item-cover {
    width: 80px;
    height: 107px;
  }

  .library-modules-works-item-title {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .library-default {
    flex-direction: column;
    gap: 10px;
  }

  .library-nav {
    padding: 12px 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .library-nav-item {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: none;
  }

  .library-nav-item-title {
    font-size: 11px;
    line-height: 18px;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--text-color);
  }

  .library-nav-item-link {
    display: inline-block;
    padding: 5px 8px;
    font-size: 11px;
    line-height: 16px;
    margin: 1px 0;
    border: 1px solid #e9e9ed;
    border-radius: 14px;
    text-align: center;
  }

  .library-content-title {
    height: 90px;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
  }

  .library-content-title img {
    height: 90px;
  }

  .library-content-name {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .library-content-main {
    padding: 0 12px;
    margin-top: -15px;
  }

  .library-modules-works {
    padding: 20px 0;
  }

  .library-modules-works-item {
    margin-bottom: 16px;
    padding-left: 40px;
    flex-wrap: wrap;
  }

  .library-modules-works-item-cover {
    width: 50px;
    height: 67px;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .library-modules-works-item-content {
    flex: 1;
    min-width: 120px;
    padding: 2px 0;
  }

  .library-modules-works-item-title {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 3px;
  }

  .library-modules-works-item-author {
    font-size: 10px;
    line-height: 16px;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .library-modules-works-item-desc {
    font-size: 11px;
    line-height: 16px;
    -webkit-line-clamp: 1;
    margin-bottom: 3px;
  }

  .library-modules-works-item-btn {
    min-width: 75px;
    padding: 8px 0 10px;
    gap: 4px;
  }

  .library-modules-works-item-btn-read {
    width: 75px;
    font-size: 12px;
    height: 32px;
    line-height: 32px;
    padding: 0;
  }

  .library-modules-works-item-btn-delete {
    width: 75px;
    font-size: 10px;
    height: 28px;
    line-height: 28px;
  }

  .library-modules-works-empty {
    height: 200px;
    font-size: 12px;
  }

  .library-cover-mode {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .library-default {
    gap: 0;
    margin: 20px auto;
  }

  .library-nav {
    padding: 10px 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  }

  .library-nav-item {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: none;
  }

  .library-nav-item-title {
    font-size: 10px;
    line-height: 16px;
    margin-bottom: 3px;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
  }

  .library-nav-item-link {
    display: inline-block;
    padding: 4px 6px;
    font-size: 10px;
    line-height: 14px;
    margin: 1px 0;
    border: 1px solid #e9e9ed;
    border-radius: 12px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .library-content {
    border-radius: 4px;
    min-height: auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }

  .library-content-title {
    height: 75px;
    padding: 0 15px;
    align-items: center;
    justify-content: space-between;
  }

  .library-content-title img {
    height: 75px;
  }

  .library-content-name {
    font-size: 16px;
    letter-spacing: 0;
  }

  .library-content-main {
    padding: 0 10px;
    margin-top: -12px;
  }

  .library-modules-works {
    padding: 15px 0;
  }

  .library-modules-works-item {
    margin-bottom: 12px;
    padding-left: 38px;
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .library-modules-works-item-cover {
    width: 45px;
    height: 60px;
    margin-right: 8px;
  }

  .library-modules-works-item-content {
    flex: 1;
    padding: 0;
  }

  .library-modules-works-item-title {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .library-modules-works-item-btn {
    min-width: 70px;
    padding: 6px 0 8px;
    gap: 3px;
  }

  .library-modules-works-item-btn-read {
    width: 70px;
    font-size: 11px;
    height: 28px;
    line-height: 28px;
  }

  .library-modules-works-item-btn-delete {
    width: 70px;
    font-size: 10px;
    height: 26px;
    line-height: 26px;
  }

  .library-cover-mode {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 6px;
  }

  .library-cover-mode .library-modules-works-item-btn {
    flex-direction: column;
    width: 100%;
  }

  .library-cover-mode .library-modules-works-item-btn-read,
  .library-cover-mode .library-modules-works-item-btn-delete {
    width: 100%;
  }
}

/* 登录弹窗模态框样式 */


.modal-button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.modal-btn-secondary {
  padding: 0.625rem 1.5rem;
  background: #f0f0f0;
  color: #333;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.modal-btn-secondary:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.show {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  animation: modalSlideIn 0.3s ease;
  border: 1px solid var(--sub);
}
@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.modal-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--pink);
  background: linear-gradient(135deg, var(--pink), #b22d61);
}
.modal-icon.success {
  background: #ffc7ce;
  color: #ff3955;
}
.modal-icon.error {
  background: #ffebee;
  color: #ff4757;
}
.modal-title {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.modal-message {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.modal-btn {
  padding: 0.625rem 1.5rem;
  background: linear-gradient(135deg, #ff3955 0%, #ff1744 100%);
  background: linear-gradient(135deg, var(--pink), #c21c5b);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 57, 85, 0.3);
}