/* CiYuan主题样式 - 基于冰狱博客风格 */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
    font-family: 'ZhuZiAWan2', 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 - 固定毛玻璃风格 */
div.navbar#navbar {
    background: rgba(255, 255, 255, 0.54) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    overflow: visible;
    position: sticky;
    top: 0;
    z-index: 10000;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    height: 56px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

div.navbar#navbar > * {
    pointer-events: auto;
}

.navbar-logo-link {
    margin-right: auto;
    display: flex;
    align-items: center;
    outline: none;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    text-decoration: none;
}

.navbar-logo-link:focus,
.navbar-logo-link:active,
.navbar-logo-link:hover {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.navbar-logo-link img {
    box-shadow: none !important;
}

.navbar-logo {
    height: 38px;
    display: flex;
    align-items: center;
}

.navbar-logo img {
    height: 100%;
    width: auto;
    max-height: 38px;
    max-width: 150px;
    object-fit: contain;
}

/* 有 hero 时 logo 文字为白色 */
body.has-hero .navbar-logo span {
    color: #fff !important;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    height: 100%;
}

.navbar a {
    color: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 12px 18px;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 有 hero 时导航链接为白色 */
body.has-hero .navbar a {
    color: rgba(255, 255, 255, 0.9);
}

body.has-hero .navbar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar a i {
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.navbar a span {
    display: inline-block;
}

.navbar a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.navbar a.active {
    background-color: rgba(76, 175, 80, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: rgba(0, 0, 0, 0.9);
}

.navbar a.active i {
    color: rgba(0, 0, 0, 0.9);
}

/* 移动端汉堡菜单按钮 */
.menu-toggle {
    display: none;
    background: transparent;
    color: white;
    padding: 0;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
    border: none;
    outline: none;
    margin: 0;
    box-shadow: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

/* 移动端侧边栏 */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: linear-gradient(160deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-100%);
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.sidebar.active {
    display: flex;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .sidebar {
        display: flex;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transition: transform 0.25s ease-out;
        -webkit-transition: -webkit-transform 0.25s ease-out;
        will-change: transform;
        transform: translateX(-100%) translate3d(0, 0, 0);
    }
    
    .sidebar.active {
        transform: translateX(0) translate3d(0, 0, 0);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-user-info h3 {
    color: #fff;
    font-size: 18px;
    margin: 0;
}

.sidebar-menu {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.sidebar-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

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

.sidebar-overlay.active {
    display: block;
}

/* 主要内容区域 */
.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    display: flex;
    gap: 30px;
    min-height: calc(100vh - 48px);
    background-color: #f5f5f5;
}

/* ===== 首页顶部横幅卡片 ===== */
.hero-card-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-card {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero-card {
        min-height: 50vh;
    }
}

.hero-card #hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bg-default {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-slogan-container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    padding: 20px;
    box-sizing: border-box;
}

.hero-slogan {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin: 0;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-slogan {
        font-size: 2rem;
        padding: 0 15px;
    }
}

.hero-one-saying-container {
    margin-top: 15px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    letter-spacing: 0.05em;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 8px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: width 0.1s ease;
}

.hero-one-saying-text {
    line-height: 1.2;
    display: inline;
    white-space: nowrap;
}

.hero-one-saying-cursor {
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    margin-left: 2px;
}

@media (max-width: 768px) {
    .hero-one-saying-container {
        margin-top: 12px;
        font-size: 1.2rem;
        padding: 6px 14px;
        border-radius: 8px;
    }
}

/* 波浪效果 */
.hero-waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
}

.hero-wave-left {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0,60 C150,100 350,20 600,60 C850,100 1050,20 1200,60 L1200,120 L0,120 Z' fill='%23f5f5f5' fill-opacity='0.8'/></svg>") repeat-x;
    background-size: 1200px 100%;
    animation: heroWaveMoveLeft 20s linear infinite;
    opacity: 0.8;
}

.hero-wave-right {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 L1200,120 L0,120 Z' fill='%23ffffff' fill-opacity='0.6'/></svg>") repeat-x;
    background-size: 1200px 100%;
    animation: heroWaveMoveRight 25s linear infinite;
    opacity: 0.7;
}

@keyframes heroWaveMoveLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes heroWaveMoveRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.hero-wave-indicator {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: heroIndicatorBounce 2s ease-in-out infinite;
    opacity: 0.95;
    pointer-events: auto;
    cursor: pointer;
    display: inline-block;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.7), 0 0 8px rgba(255, 255, 255, 0.3);
    text-align: center;
    line-height: 1;
}

@keyframes heroIndicatorBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-15px); }
}

@media (max-width: 768px) {
    .hero-waves-container {
        height: 60px;
    }
    .hero-wave-left { animation-duration: 15s; }
    .hero-wave-right { animation-duration: 20s; }
    .hero-wave-indicator {
        top: 10px;
        font-size: 2rem;
    }
}

/* 左侧边栏 */
.sidebar-widget {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* 主内容区域 */
.article-list {
    flex: 1;
    min-width: 0;
}

/* 文章网格 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 1100px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
    opacity: 0;
}

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

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.article-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
    position: relative;
}

.article-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.article-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.lazy-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.article-image img[src] + .lazy-placeholder,
.article-image img.lazyloaded + .lazy-placeholder {
    display: none;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.no-cover-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    gap: 8px;
}

.no-cover-placeholder i {
    font-size: 36px;
    opacity: 0.6;
}

.article-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-publish-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.article-title-wrap {
    position: relative;
}

.article-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #1939d7;
}

.top-flag {
    background: #1939d7;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.article-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 10;
    pointer-events: none;
}

.article-title-wrap:hover .article-tooltip {
    display: block;
}

.article-stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.article-stats span {
    display: flex;
    align-items: center;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.article-tags .tag {
    background: #f5f5f5;
    color: #666;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tags .tag:hover {
    background: #1939d7;
    color: #fff;
}

.tag-item {
    background: #f5f5f5;
    color: #666;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #1939d7;
    color: #fff;
}

/* 分页 */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a {
    background: #fff;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.pagination a:hover {
    background: #1939d7;
    color: #fff;
}

.pagination .current {
    background: #1939d7;
    color: #fff;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.empty-state i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    color: #666;
    margin-bottom: 10px;
}

.empty-state p {
    color: #999;
}

/* 侧边栏小部件卡片样式 */
.widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1939d7;
    color: #333;
}

/* 搜索框 */
.search-form {
    display: flex;
    border: 2px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.search-form:focus-within {
    border-color: #1939d7;
}

.search-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-form button {
    background: #1939d7;
    border: none;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #152db3;
}

/* 站点信息 */
.site-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-item .label {
    color: #666;
    font-size: 14px;
}

.info-item .value {
    color: #333;
    font-weight: 500;
}

/* 文章列表 */
.post-list {
    list-style: none;
}

.post-list li {
    margin-bottom: 12px;
}

.post-list li:last-child {
    margin-bottom: 0;
}

.post-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.post-list a:hover {
    color: #1939d7;
}

.post-title {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-date,
.post-views {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
    flex-shrink: 0;
}

/* 分类列表 */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: #f5f5f5;
    color: #1939d7;
}

.category-name {
    font-size: 14px;
}

.category-count {
    font-size: 12px;
    color: #999;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: #f0f0f0;
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #1939d7;
    color: #fff;
}

/* 友情链接 */
.link-list {
    list-style: none;
}

.link-list li {
    margin-bottom: 8px;
}

.link-list li:last-child {
    margin-bottom: 0;
}

.link-list a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.link-list a:hover {
    background: #f5f5f5;
    color: #1939d7;
}

/* 通用列表样式重置 */
.unstyle-li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 个人资料组件 */
.profile-widget,
.profile-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    padding: 25px 20px;
    position: relative;
    overflow: hidden;
}

/* 背景图遮罩层 */
.profile-card[style*="background-image"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.profile-card[style*="background-image"] > * {
    position: relative;
    z-index: 2;
}

.profile-avatar {
    margin-bottom: 12px;
}

.profile-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-avatar img:hover {
    transform: scale(1.1);
}

.profile-nickname {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

.profile-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 15px;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    color: rgba(255, 255, 255, 0.9);
}

.stat-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.stat-num {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

/* 最新评论 */
.comment-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.comment-info:last-child {
    border-bottom: none;
}

.comment-info-img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.comm-lates-name {
    font-weight: 500;
    color: #333;
    margin-right: 6px;
}

.logcom-latest-time {
    color: #999;
    font-size: 12px;
}

.comment-info a {
    display: block;
    width: 100%;
    margin-top: 4px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.comment-info a:hover {
    color: #1939d7;
}

/* 归档列表 */
.archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-list li {
    margin-bottom: 6px;
}

.archive-list li:last-child {
    margin-bottom: 0;
}

.archive-list a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.archive-list a:hover {
    background: #f5f5f5;
    color: #1939d7;
}

/* 分类子项 */
.category-children {
    list-style: none;
    padding-left: 15px;
    margin: 6px 0 0 0;
}

.category-children li {
    margin-bottom: 4px;
}

.category-children a {
    padding: 6px 10px;
    font-size: 13px;
}

/* 自定义组件内容 */
.custom-widget-content {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.custom-widget-content img {
    max-width: 100%;
    height: auto;
}

/* 日历组件 */
#calendar {
    text-align: center;
}

#calendar table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

#calendar td,
#calendar th {
    padding: 6px 4px;
    text-align: center;
}

#calendar .day {
    color: #1939d7;
    font-weight: 600;
}

#calendar a {
    color: #1939d7;
    text-decoration: none;
}

#calendar a:hover {
    text-decoration: underline;
}

/* 微语列表 */
.widget-list .comm-lates-name {
    display: inline-block;
    margin-top: 4px;
}

.widget-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    line-height: 1.5;
}

.widget-list li:last-child {
    border-bottom: none;
}

/* 文章详情页 */
.article-detail {
    flex: 1;
    min-width: 0;
}

/* 文章详情卡片 */
.article-detail-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.article-detail-card .article-header {
    margin-bottom: 30px;
}

.article-detail-card .article-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px;
    line-height: 1.4;
}

.article-detail-card .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-detail-card .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.article-detail-card .meta-item i {
    font-size: 14px;
    opacity: 0.7;
}

.article-detail-card .article-cover {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.article-detail-card .article-cover img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.article-detail-card .article-footer {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #eee;
}

.article-detail-card .article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.article-detail-card .article-tags a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #f5f5f5;
    color: #666;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-detail-card .article-tags a:hover {
    background: #1939d7;
    color: #fff;
}

.article-detail .article-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.article-detail .article-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.article-detail .article-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-detail .article-cover {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.article-detail .article-cover img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-body h1 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 35px 0 18px;
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}

.article-body h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: linear-gradient(180deg, rgba(25, 57, 215, 0.9), rgba(99, 102, 241, 0.6));
    border-radius: 2px;
}

.article-body h2 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 30px 0 15px;
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}

.article-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: linear-gradient(180deg, rgba(25, 57, 215, 0.7), rgba(99, 102, 241, 0.4));
    border-radius: 2px;
}

.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #34495e;
    margin: 25px 0 12px;
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}

.article-body h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: linear-gradient(180deg, rgba(25, 57, 215, 0.5), rgba(99, 102, 241, 0.3));
    border-radius: 2px;
}

.article-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin: 20px 0 10px;
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}

.article-body h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: linear-gradient(180deg, rgba(25, 57, 215, 0.3), rgba(99, 102, 241, 0.2));
    border-radius: 2px;
}

.article-body blockquote {
    border-left: 4px solid #1939d7;
    padding: 15px 20px;
    background: #f9f9f9;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.article-body code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
}

.article-body pre {
    background: #333;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-body pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article-body a {
    color: #1939d7;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.article-body a:hover {
    border-bottom-color: #1939d7;
}

.article-body ul,
.article-body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-body ul li {
    list-style-type: disc;
}

.article-body ol li {
    list-style-type: decimal;
}

.article-body hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 30px 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-body table th {
    background: #f5f7fa;
    color: #333;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #e0e6ed;
}

.article-body table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.article-body table tr:hover {
    background: #f9fafb;
}

.article-body table tr:last-child td {
    border-bottom: none;
}

.article-body strong {
    color: #1a1a1a;
    font-weight: 600;
}

.article-body em {
    color: #666;
    font-style: italic;
}

.article-footer {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #1939d7;
    color: #fff;
}

.edit-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #1939d7;
    text-decoration: none;
    font-size: 14px;
}

/* 邻近文章 */
.neighbor-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.neighbor-nav a {
    flex: 1;
    text-decoration: none;
    color: #333;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.neighbor-nav a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.neighbor-nav a.prev-article {
    align-items: flex-start;
}

.neighbor-nav a.next-article {
    align-items: flex-end;
    text-align: right;
}

.neighbor-nav .label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #1939d7;
    margin-bottom: 8px;
    font-weight: 500;
}

.neighbor-nav .label::before {
    content: '←';
}

.neighbor-nav a.next-article .label::before {
    content: none;
}

.neighbor-nav a.next-article .label::after {
    content: '→';
}

.neighbor-nav .title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* 评论区 */
.comment-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1939d7;
}

.comment-form {
    margin-bottom: 30px;
}

.comment-form-row {
    margin-bottom: 15px;
}

.comment-form-row input,
.comment-form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    outline: none;
}

.comment-form-row input:focus,
.comment-form-row textarea:focus {
    border-color: #1939d7;
}

.comment-form-row textarea {
    height: 120px;
    resize: vertical;
}

.verify-code {
    display: flex;
    gap: 10px;
    align-items: center;
}

.verify-code input {
    flex: 1;
}

.verify-code img {
    height: 40px;
    cursor: pointer;
    border-radius: 4px;
}

.submit-btn {
    background: #1939d7;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #152db3;
}

/* 评论列表 */
.comments-list {
    margin-top: 30px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 500;
    color: #333;
}

.comment-author a {
    color: #1939d7;
    text-decoration: none;
}

.comment-date {
    font-size: 12px;
    color: #999;
}

.comment-body {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 8px;
}

.comment-reply a {
    font-size: 12px;
    color: #1939d7;
    text-decoration: none;
}

.comment-child {
    padding-left: 65px;
}

.comment-pagination {
    margin-top: 20px;
    text-align: center;
}

/* 页脚 */
.footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-info {
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1939d7;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(25, 57, 215, 0.3);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #152db3;
    transform: translateY(-3px);
}

/* 错误页面 */
.error-page {
    text-align: center;
    padding: 100px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.error-page h1 {
    font-size: 72px;
    color: #1939d7;
    margin-bottom: 20px;
}

.error-page p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.error-page a {
    display: inline-block;
    background: #1939d7;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.error-page a:hover {
    background: #152db3;
}

/* 搜索框 */
.nav-search {
    display: flex;
    align-items: center;
}

.nav-search form {
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
}

.nav-search input {
    background: transparent;
    border: none;
    padding: 8px 15px;
    color: #333;
    font-size: 14px;
    outline: none;
    width: 150px;
}

.nav-search input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.nav-search button {
    background: transparent;
    border: none;
    color: rgba(0, 0, 0, 0.6);
    padding: 8px 12px;
    cursor: pointer;
}

/* 有 hero 时搜索框为白色 */
body.has-hero .nav-search form {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

body.has-hero .nav-search input {
    color: #fff;
}

body.has-hero .nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

body.has-hero .nav-search button {
    color: #fff;
}

/* 登录按钮 */
.login-btn-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.login-btn-circle:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* 有 hero 时登录按钮为白色 */
body.has-hero .login-btn-circle {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.has-hero .login-btn-circle:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .content {
        flex-direction: column;
    }
    
    .sidebar-widget {
        flex: none;
        min-width: 0;
        max-width: none;
        width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }
    
    .article-detail .article-content {
        padding: 20px;
    }
    
    .article-detail .article-title {
        font-size: 24px;
    }
    
    .article-detail-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .article-detail-card .article-title {
        font-size: 22px;
    }
    
    .article-detail-card .article-meta {
        gap: 12px;
    }
    
    .article-detail-card .meta-item {
        font-size: 13px;
    }
    
    .neighbor-nav {
        flex-direction: column;
    }
    
    .comment-section {
        padding: 20px;
    }
    
    .sidebar-widget {
        display: none;
    }
}

/* 加载动画 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1939d7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #4CAF50;
}

.notification.error {
    border-left: 4px solid #f44336;
}

.notification.info {
    border-left: 4px solid #2196F3;
}

/* ===== 登录注册页面 ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
}

.auth-header p {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon i {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 16px;
    z-index: 1;
}

.input-icon input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f9f9f9;
    outline: none;
}

.input-icon input:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.input-icon input::placeholder {
    color: #bbb;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

.forgot-link {
    font-size: 14px;
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: #764ba2;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.auth-btn-outline:hover {
    background: #667eea;
    color: #fff;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.auth-footer p {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: #764ba2;
}

/* Toast 提示 */
.auth-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    z-index: 99999;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

.auth-toast-success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.auth-toast-error {
    background: linear-gradient(135deg, #f44336, #e53935);
}

.auth-toast-info {
    background: linear-gradient(135deg, #2196F3, #1e88e5);
}

/* 用户中心仪表盘 */
.user-center {
    padding: 20px 0;
}

.user-dashboard {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.welcome-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
}

.welcome-info h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 8px;
}

.welcome-info p {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.dashboard-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.dash-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.dash-link:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}

.dash-link i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.dash-link span {
    font-size: 15px;
    font-weight: 500;
}

.logout-link {
    color: #f44336;
}

.logout-link:hover {
    background: #f44336;
    color: #fff;
}

.dashboard-login {
    text-align: center;
    padding: 40px 0;
}

.login-icon {
    margin-bottom: 20px;
}

.login-icon i {
    font-size: 64px;
    color: #ddd;
}

.dashboard-login h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 10px;
}

.dashboard-login p {
    font-size: 14px;
    color: #999;
    margin: 0 0 30px;
}

.login-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.login-actions .auth-btn {
    width: auto;
    padding: 12px 40px;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-header h2 {
        font-size: 24px;
    }
    
    .dashboard-links {
        grid-template-columns: 1fr;
    }
    
    .dashboard-welcome {
        flex-direction: column;
        text-align: center;
    }
    
    .login-actions {
        flex-direction: column;
    }
}