/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    padding-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 导航栏登录区域 */
.login-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

#loginBtnArea {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-btn {
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.login-btn:hover {
    color: #3182ce;
}

.register-btn {
    font-size: 16px;
    font-weight: 500;
    color: #3182ce;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.register-btn:hover {
    color: #2563eb;
}

.user-info-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-greeting {
    color: #374151;
    font-weight: 500;
}

.workbench-btn {
    text-decoration: none;
    color: #374151;
}

.logout-btn {
    text-decoration: none;
    color: #374151;
}

/* 导航栏 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #1a365d;
    letter-spacing: 0.5px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 25px;
    padding: 10px 15px;
    width: 400px;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-box:focus-within {
    border-color: #3182ce;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.3);
    transform: translateY(-2px);
}

.search-box select {
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    color: #64748b;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #cbd5e1;
}

.search-box input {
    background-color: transparent;
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    padding: 5px 10px;
}

.search-box button {
    background-color: #3182ce;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-box button:hover {
    background-color: #2563eb;
    transform: scale(1.05);
}

/* 主导航菜单 */
.main-menu {
    background-color: #1a365d;
    position: relative;
    z-index: 100;
}

/* 滚动时固定主导航菜单 */
.main-menu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.main-menu .container {
    display: flex;
    justify-content: center;
}

.menu-list {
    display: flex;
    list-style: none;
    /* gap: 5px; */
}

.menu-item {
    position: relative;
}

.menu-item > a {
    display: block;
    padding: 18px 15px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.menu-item > a:hover {
    background-color: #3182ce;
}

/* 二级下拉菜单 */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    min-width: 130px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.submenu-more {
    min-width: 260px; /* 增加最小宽度以适应两列 */
    /* 实现多列布局 */
    columns: 2 auto;
    column-gap: 0;
    column-fill: balance;
}

.submenu-item-more {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}
.submenu-item-more a {
    width: 100%;
    box-sizing: border-box;
}

.menu-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-item {
    padding: 0;
}

.submenu-item > a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.submenu-item > a:hover {
    background-color: #f8fafc;
    color: #3182ce;
}

/* 三级下拉菜单 */
.submenu-item.has-children > a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    font-size: 12px;
}

.submenu .submenu {
    left: 100%;
    top: 0;
    border-radius: 8px;
}

.contact-section {
    background: linear-gradient(135deg, #3182ce 0%, #1a365d 100%);
    color: white;
    padding: 60px 0;
}

.contact-section .section-title h2 {
    color: white;
}

.contact-section .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.submit-button {
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 16px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.4);
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}


.card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}
.mentors-card {
    position: relative;
    text-align: center;
    background: #fff url(/img/bg1.jpg) no-repeat left top;
}



.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.index-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    padding: 10px;
    border-radius: 12px 12px 0 0;
}

.card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: top;
    padding: 10px;
    border-radius: 12px 12px 0 0;
}

.mentors-card-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: top;
    padding: 10px;
    border-radius: 40%;
}

.mentor-keywords {
    text-align: center;
    padding: 0 10px;
    height: 84px;
    overflow: hidden;
}

.mentor-keywords span {
    display: block;
    color: #999999;
    font-size: 14px;
    line-height: 2;
}

.card-content {
    padding: 8px 10px;
    text-align: center;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a365d;
}

.card-description {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #94a3b8;
}

.card-link {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.card-link:hover {
    color: #2563eb;
}

/* 页脚 */
.footer {
    background-color: #1a365d;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 250px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #93c5fd;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.footer-section ul li a:hover {
    color: #93c5fd;
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .search-box {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0;
        width: 100%;
    }
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .login-area {
        width: 100%;
        justify-content: center;
    }
    
    .login-btn {
        flex: 1;
        text-align: center;
        max-width: 150px;
    }
    
    .menu-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .menu-item {
        width: 100%;
    }

    .menu-item:last-child {
        grid-column: 1 / -1;
    }

    .menu-item > a {
        display: block;
        padding: 11px 8px;
        color: white;
        background-color: #1c6cc3;
        border-radius: 12px;
        text-align: center;
        font-size: 16px;
    }

    .menu-item > a:hover {
        background-color: #3182ce;
    }

    .menu-item > a i {
        display: none;
    }

    .submenu {
        display: none !important;
    }

    .main-menu {
        background-color: transparent;
        display: block !important;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        z-index: 100;
        max-height: none;
        overflow: visible;
    }

    .mobile-menu-button {
        display: none !important;
    }
}

/* 移动端汉堡菜单 */
.mobile-menu-button {
    display: none;
    background-color: transparent;
    border: 2px solid #3182ce;
    color: #3182ce;
    font-size: 24px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-button:hover {
    background-color: #3182ce;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.3);
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: none !important;
    }
}
/* 英雄区域样式 已拆分到 views/home/css/home.css */

/* 登录弹窗样式 */
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 101;
  animation: fadeInOverlay 0.3s ease;
}

.login-modal {
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  animation: slideUpModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.login-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #3182ce, #60a5fa, #3b82f6, #3182ce);
  background-size: 300% 100%;
  animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
  0% { background-position: -300% 0; }
  100% { background-position: 300% 0; }
}

.login-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px 20px;
  background: linear-gradient(135deg, rgba(49, 130, 206, 0.05), rgba(59, 130, 246, 0.05));
  border-bottom: 1px solid #e2e8f0;
}

.login-modal-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #1a365d;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.5px;
}

.login-modal-header h3::before {
  content: '\f007';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 20px;
  color: #3182ce;
  background: linear-gradient(135deg, rgba(49, 130, 206, 0.15), rgba(59, 130, 246, 0.15));
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.2);
}

.close-btn {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border: none;
  font-size: 18px;
  color: #718096;
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.close-btn:hover {
  background: linear-gradient(135deg, #fed7d7, #feb2b2);
  color: #c53030;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.login-modal-body {
  padding: 28px 32px;
}

.login-form-group {
  margin-bottom: 22px;
}

.login-form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 14px;
  color: #2d3748;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-form-group label::before {
  content: '';
  width: 4px;
  height: 4px;
  background: #3182ce;
  border-radius: 50%;
}

.login-form-group input[type="text"],
.login-form-group input[type="password"],
.login-form-group input[type="email"],
.login-form-group input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  color: #2d3748;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  box-sizing: border-box;
}

.login-form-group input[type="text"]:focus,
.login-form-group input[type="password"]:focus,
.login-form-group input[type="email"]:focus,
.login-form-group input[type="tel"]:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 4px rgba(49, 130, 206, 0.1);
  background: #ffffff;
  transform: translateY(-1px);
}

.login-form-group input[type="text"]::placeholder,
.login-form-group input[type="password"]::placeholder,
.login-form-group input[type="email"]::placeholder,
.login-form-group input[type="tel"]::placeholder {
  color: #a0aec0;
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  padding-right: 50px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #a0aec0;
  font-size: 16px;
  padding: 4px 8px;
  transition: color 0.2s;
}

.toggle-password:hover {
  color: #3182ce;
}

.login-modal-body .el-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 24px;
  padding: 0 2px;
}

.form-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4a5568;
  cursor: pointer;
  font-weight: 400;
  transition: color 0.2s;
}

.form-options label:hover {
  color: #2d3748;
}

.form-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #3182ce;
  cursor: pointer;
  border-radius: 4px;
}

.forgot-password {
  color: #3182ce;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 13px;
  position: relative;
}

.forgot-password::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #3182ce;
  transition: width 0.3s ease;
}

.forgot-password:hover {
  color: #1e40af;
}

.forgot-password:hover::after {
  width: 100%;
}

.login-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #3182ce, #2563eb, #3b82f6);
  background-size: 200% 100%;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(49, 130, 206, 0.3);
  position: relative;
  overflow: hidden;
}

.login-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.login-submit:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(49, 130, 206, 0.4);
}

.login-submit:hover::before {
  left: 100%;
}

.login-submit:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(49, 130, 206, 0.35);
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.login-divider span {
  font-size: 13px;
  color: #a0aec0;
  font-weight: 500;
}

.login-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #f7fafc);
  color: #2d3748;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-btn:hover {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-color: #63b3ed;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 179, 237, 0.25);
}

.social-btn i {
  font-size: 18px;
}

.login-modal-footer {
  padding: 20px 32px 28px;
  text-align: center;
  font-size: 14px;
  color: #718096;
  background: linear-gradient(135deg, rgba(49, 130, 206, 0.03), rgba(59, 130, 246, 0.03));
  border-top: 1px solid #e2e8f0;
}

.login-modal-footer p {
  margin: 0;
}

.login-modal-footer a {
  color: #3182ce;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  position: relative;
}

.login-modal-footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3182ce, #63b3ed);
  transition: width 0.3s ease;
}

.login-modal-footer a:hover {
  color: #1e40af;
}

.login-modal-footer a:hover::after {
  width: 100%;
}

/* 消息提示框样式 */
.message-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10003;
  animation: slideDown 0.3s ease;
}

.message-toast-success {
  border-left: 4px solid #10b981;
}

.message-toast-error {
  border-left: 4px solid #ef4444;
}

.message-icon {
  font-size: 18px;
  font-weight: bold;
}

.message-toast-success .message-icon {
  color: #10b981;
}

.message-toast-error .message-icon {
  color: #ef4444;
}

.message-toast .message-text {
  font-size: 14px;
  color: #374151;
}

/* 退出确认弹窗样式 */
.logout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  animation: fadeInOverlay 0.3s ease;
}

.logout-modal {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 16px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUpModal 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.logout-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #f87171, #ef4444);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

.logout-modal-header {
  padding: 24px 28px 16px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.logout-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logout-modal-header h3 i {
  color: #ef4444;
  font-size: 22px;
}

.logout-modal-body {
  padding: 28px 28px;
  text-align: center;
}

.logout-modal-body p {
  margin: 0;
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
}

.logout-modal-footer {
  padding: 16px 28px 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.logout-cancel-btn {
  flex: 1;
  padding: 12px 24px;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #374151;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logout-cancel-btn:hover {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logout-cancel-btn:active {
  transform: translateY(0);
}

.logout-confirm-btn {
  flex: 1;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logout-confirm-btn i {
  font-size: 16px;
}

.logout-confirm-btn:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
}

.logout-confirm-btn:active {
  transform: translateY(0);
}

/* 分页组件样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    padding: 0 20px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-total {
    font-size: 14px;
    color: #64748b;
    margin-right: 10px;
}

.pagination-total span {
    color: #3182ce;
    font-weight: 600;
}

.page-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #3182ce;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #f1f5f9;
    border-color: #3182ce;
    transform: translateY(-2px);
}

.page-link.disabled {
    color: #94a3b8;
    cursor: not-allowed;
    pointer-events: none;
}

.page-link.disabled:hover {
    background-color: white;
    border-color: #e2e8f0;
    transform: none;
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-number:hover {
    background-color: #f1f5f9;
    border-color: #3182ce;
}

.page-number.active {
    background-color: #3182ce;
    border-color: #3182ce;
    color: white;
}

.page-number.active:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

@media (max-width: 768px) {
    .page-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .page-number {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}


@keyframes slideDown {
  from {
    top: -50px;
    opacity: 0;
  }
  to {
    top: 20px;
    opacity: 1;
  }
}

.message-toast-hide {
  animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
  from {
    top: 20px;
    opacity: 1;
  }
  to {
    top: -50px;
    opacity: 0;
  }
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUpModal {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-modal {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: slideUpModal 0.35s ease;
  position: relative;
  overflow: hidden;
}

.login-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3182ce, #60a5fa, #3182ce);
  background-size: 200% 100%;
  animation: shimmer 2s ease infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.login-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.login-modal-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1a365d;
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-modal-header h3::before {
  content: '\f007';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 18px;
  color: #3182ce;
  background: rgba(49, 130, 206, 0.1);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  transition: all 0.2s;
}

.close-btn:hover {
  background-color: #fee2e2;
  color: #ef4444;
}

.login-modal-body {
  padding: 24px 28px;
}

.login-form-group {
  margin-bottom: 20px;
}

.login-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
}

.login-modal-body .el-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 20px;
}

.form-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  cursor: pointer;
  font-weight: 400;
}

.form-options input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #3182ce;
  cursor: pointer;
}

.forgot-password {
  color: #3182ce;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.forgot-password:hover {
  color: #1e40af;
  text-decoration: underline;
}

.login-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #3182ce, #2563eb);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.login-submit:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(49, 130, 206, 0.35);
}

.login-submit:active {
  transform: translateY(0);
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.login-divider span {
  font-size: 13px;
  color: #9ca3af;
}

.login-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background-color: white;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.social-btn:hover {
  background-color: #f8fafc;
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.social-btn i {
  font-size: 18px;
}

.login-modal-footer {
  padding: 16px 28px 24px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.login-modal-footer a {
  color: #3182ce;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.login-modal-footer a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* 注册弹窗样式 */
.register-modal {
    max-width: 620px;
}

.register-body {
    /* max-height: 60vh; */
    overflow-y: auto;
    padding-right: 8px;
}

.register-body::-webkit-scrollbar {
    width: 6px;
}

.register-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.register-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.register-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.register-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.register-back-btn {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #374151;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-back-btn:hover {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.register-submit-btn {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #3182ce, #2563eb);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.register-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 130, 206, 0.35);
}

.register-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #2d3748;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-sizing: border-box;
    cursor: pointer;
}

.login-form-group select:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 4px rgba(49, 130, 206, 0.1);
    background: #ffffff;
    transform: translateY(-1px);
}

.login-form-group select option {
    padding: 10px;
}

.captcha-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.captcha-input {
    flex: 1;
}

.captcha-img {
    width: 120px;
    height: 42px;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.captcha-img:hover {
    opacity: 0.9;
}

/* 公告卡片组件 */
.announcement-section {
  position: relative;
}
.announcement-card {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.announcement-toggle {
    color: white;
    width: 32px;
    height: 80px;
    background: #2b85e4;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: -2px 2px 12px rgba(49, 130, 206, 0.3);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.announcement-toggle:hover {
    background: #2b85e4;
    box-shadow: -2px 2px 16px rgba(49, 130, 206, 0.5);
}

.announcement-toggle .toggle-icon {
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.announcement-card.expanded .announcement-toggle .toggle-icon {
    transform: rotate(180deg);
}

.announcement-content {
    width: 0;
    height: 80px;
    background: white;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: width 0.3s ease;
    position: relative;
    z-index: 1;
    display: block;
}

.announcement-card.expanded .announcement-content {
    width: 280px;
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
}

.announcement-body {
    padding: 16px;
}

.announcement-text {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

.announcement-phone {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.announcement-phone a {
    color: #3182ce;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.announcement-phone a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .content-container {
        padding: 20px 10px;
    }
    .announcement-card {
      display: flex;
      align-items: center;
      border-radius: 8px;
      width: 280px;
      transform: translateX(280px) translateY(-50%);
    }

    .announcement-card.expanded {
      transform: translateX(40px) translateY(-50%);
    }

    .announcement-toggle {
      position: absolute;
      left: -36px;
      width: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* 默认折叠状态隐藏内容，只显示切换按钮 */
    .announcement-content {
      display: block;
      overflow: hidden;
      width: 0;
      transition: width 0.3s ease;
    }

    .announcement-card.expanded .announcement-content {
      width: 240px;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-bottom: 20px;
      padding: 10px 10px;
    }
    .footer {
      padding: 10px 10px;
    }
    .footer-content {
      gap: 10px;
    }
}

/* GoFly 客服按钮样式 */
#chat-widget-button {
    position: fixed !important;
    bottom: 50% !important;
    right: 0 !important;
    width: 50px !important;
    height: 150px !important;
    background: linear-gradient(180deg, #195afe, #56bdff) !important;
    color: white !important;
    border-radius: 10px 0 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2) !important;
    z-index: 9999 !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    letter-spacing: 4px !important;
    transition: all 0.3s ease !important;
}

#chat-widget-button:hover {
    background: linear-gradient(180deg, #1650e8, #4fb0e8) !important;
    width: 55px !important;
}

#chat-widget-button .notification-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background-color: #FF5722 !important;
    color: white !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    writing-mode: horizontal-tb !important;
}



#chat-widget-header {
    padding: 15px !important;
    background: #1E88E5 !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
}

#chat-widget-iframe {
    flex: 1 !important;
    border: none !important;
}

#chat-widget-container .close-button {
    margin-left: auto !important;
    cursor: pointer !important;
    font-size: 20px !important;
}

@media (max-width: 800px) {
    #chat-widget-container {
        width: 100% !important;
        right: 0 !important;
        bottom: 80px !important;
    }
}