@charset "utf-8";

:root {
    --primary-color: #3B82F6;
    --primary-hover: #2563EB;
    --secondary-color: #60A5FA;
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --info-color: #3B82F6;
    --dark-color: #1E293B;
    --light-color: #F8FAFC;
    --text-color: #334155;
    --heading-color: #0F172A;
    --border-color: #E2E8F0;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--text-color);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 600;
}

a {
    color: var(--primary-color);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

header {
    padding: 156px 0 80px;
}

#top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--heading-color);
    z-index: 1000;
}

#top-bar nav a {
    font-size: 18px; /* 根据需要调整字体大小 */
    font-weight: normal;
}

#top-bar .btn {
    font-size: 16px; /* 根据需要调整按钮字体大小 */
    font-weight: normal;
}

#main {
    margin-top: 100px;
}

@media (max-width: 992px) {
    #top-bar {
        position: relative; /* 移除在中等屏幕下的 fixed 定位 */
    }

    #main {
        margin-top: 0; /* 重置在中等屏幕下的顶部间距 */
    }
}

section {
    padding: 6rem 0;
}

.card-header-title {
    max-width: 700px;
}

.card-deck .card {
    min-width: 220px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.panel {
    display: none;
    margin: 20px 5px 20px;
}

.panel.active {
    display: block;
}

.shadow {
    box-shadow: 0 0 10px #ccc;
    transition: box-shadow 0.3s;
}

.oauth-login-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

/* 注册页面优化样式 */

.feature-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

/* 价格卡片样式 */
.pricing-card {
    transition: all 0.3s ease;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg) !important;
}

/* 推荐标签 */
.ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #dc3545;
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 价格显示 */
.pricing-price {
    position: relative;
}

/* 脉冲按钮动画 */
.pulse-button {
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.pulse-button:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.trust-item {
    padding: 1rem;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-3px);
}

/* 渐变背景 */
.bg-gradient-warning {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%) !important;
}

/* 功能列表样式 */
.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-align: left;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .pricing-card.recommended {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .ribbon {
        display: none;
    }
    
    .trust-section .col-md-3 {
        margin-bottom: 1rem;
    }
}

/* 卡片动画 */
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

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

.oauth-login-btn img {
    max-width: 100%;
}

.hand-pointer {
    cursor: pointer;
}

#topBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%; /* 将border-radius设置为50%实现圆形 */
}

#avatar {
    cursor: pointer;
}

.border-left-primary {
    border-left: 0.25rem solid var(--primary-color) !important;
}

.border-bottom-primary {
    border-bottom: 0.25rem solid var(--primary-color) !important;
}

.border-left-secondary {
    border-left: 0.25rem solid var(--secondary-color) !important;
}

.border-bottom-secondary {
    border-bottom: 0.25rem solid var(--secondary-color) !important;
}

.border-left-success {
    border-left: 0.25rem solid var(--success-color) !important;
}

.border-bottom-success {
    border-bottom: 0.25rem solid var(--success-color) !important;
}

.border-left-info {
    border-left: 0.25rem solid var(--info-color) !important;
}

.border-bottom-info {
    border-bottom: 0.25rem solid var(--info-color) !important;
}

.border-left-warning {
    border-left: 0.25rem solid var(--warning-color) !important;
}

.border-bottom-warning {
    border-bottom: 0.25rem solid var(--warning-color) !important;
}

.border-left-danger {
    border-left: 0.25rem solid var(--danger-color) !important;
}

.border-bottom-danger {
    border-bottom: 0.25rem solid var(--danger-color) !important;
}

.border-left-light {
    border-left: 0.25rem solid #f8f9fc !important;
}

.border-bottom-light {
    border-bottom: 0.25rem solid #f8f9fc !important;
}

.border-left-dark {
    border-left: 0.25rem solid #5a5c69 !important;
}

.border-bottom-dark {
    border-bottom: 0.25rem solid #5a5c69 !important;
}

/* 开发者回复和子评论统一样式 */
.bg-light.p-3.rounded,
.child-comment {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bg-light.p-3.rounded:hover,
.child-comment:hover {
    background-color: #f1f3f4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.child-comments {
    margin-top: 12px;
    padding-left: 0;
}

.child-comment .media-body {
    padding: 0;
}

.child-comment .border-left {
    border-left: none !important;
}

/* 减少开发者回复的默认内边距 */
.bg-light.p-3 {
    padding: 12px !important;
}

/* 
扩展的8个徽章颜色样式 - 基于Bootstrap4 
*/

/* 1. 橙色徽章 - 警告/提醒 */
.badge-orange {
    color: #fff;
    background-color: #fd7e14;
}

.badge-orange[href]:hover,
.badge-orange[href]:focus {
    color: #fff;
    background-color: #e8650e;
    text-decoration: none;
}

/* 2. 紫色徽章 - 高级/VIP */
.badge-purple {
    color: #fff;
    background-color: #6f42c1;
}

.badge-purple[href]:hover,
.badge-purple[href]:focus {
    color: #fff;
    background-color: #59359a;
    text-decoration: none;
}

/* 3. 青色徽章 - 信息/通知 */
.badge-cyan {
    color: #fff;
    background-color: #20c997;
}

.badge-cyan[href]:hover,
.badge-cyan[href]:focus {
    color: #fff;
    background-color: #1aa179;
    text-decoration: none;
}

/* 4. 粉色徽章 - 特殊/推荐 */
.badge-pink {
    color: #fff;
    background-color: #e83e8c;
}

.badge-pink[href]:hover,
.badge-pink[href]:focus {
    color: #fff;
    background-color: #d91a72;
    text-decoration: none;
}

/* 5. 浅灰色徽章 - 中性/默认 */
.badge-light-gray {
    color: #495057;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.badge-light-gray[href]:hover,
.badge-light-gray[href]:focus {
    color: #495057;
    background-color: #e9ecef;
    text-decoration: none;
}

/* 6. 深绿色徽章 - 环保/自然 */
.badge-forest {
    color: #fff;
    background-color: #198754;
}

.badge-forest[href]:hover,
.badge-forest[href]:focus {
    color: #fff;
    background-color: #146c43;
    text-decoration: none;
}

/* 7. 深蓝色徽章 - 稳重/商务 */
.badge-navy {
    color: #fff;
    background-color: #0d47a1;
}

.badge-navy[href]:hover,
.badge-navy[href]:focus {
    color: #fff;
    background-color: #083570;
    text-decoration: none;
}

/* 8. 金色徽章 - 高端/奖励 */
.badge-gold {
    color: #212529;
    background-color: #ffc107;
}

.badge-gold[href]:hover,
.badge-gold[href]:focus {
    color: #212529;
    background-color: #e0a800;
    text-decoration: none;
}

/* 徽章尺寸变体 */
.badge-lg {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
}

.badge-sm {
    padding: 0.25rem 0.4rem;
    font-size: 0.75rem;
    border-radius: 0.2rem;
}

/* 徽章动画效果 */
.badge-pulse {
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 徽章阴影效果 */
.badge-shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.badge-shadow:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* timeline */

.timeline-item {
        transition: all 0.2s ease;
        background: #fff;
    }

.timeline-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.comment-content {
    line-height: 1.6;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
}

.timeline-list {
    max-width: 100%;
}

/* 子评论样式 - 参考 app_detail.php */
.child-comments {
    margin-left: 0rem;
    margin-top: 1rem;
    max-width: 100%;
    overflow: hidden;
}

.child-comment {
    border-left: 3px solid #dee2e6;
    padding-left: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    max-width: 100%;
    overflow: hidden;
}

.child-comment:hover {
    border-left-color: var(--primary-color);
    background-color: #f8f9fa;
}

.child-comment .media-body {
    padding: 0.5rem 0;
    max-width: 100%;
    overflow: hidden;
}

.child-comment .flex-grow-1 {
    min-width: 0;
    max-width: 100%;
}

.child-comment p {
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
    margin-bottom: 0.5rem;
}

/* 子评论用户昵称点击样式 */
.child-nickname {
    transition: all 0.2s ease;
}

.child-nickname:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

.child-comment img {
    border: 2px solid #e9ecef;
}

.child-comment .badge {
    font-size: 0.7em;
    margin-left: 0.25rem;
}

.child-comment .text-warning {
    color: #ffc107 !important;
    font-weight: 500;
}

/* 图片样式 */
.comment-att-img {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.comment-att-img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* 图片上传按钮样式 */
.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

/* 图片预览样式 */
#timeline_att_img_preview {
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
}

#timeline_att_img_preview:hover {
    border-color: var(--primary-color);
}

/* 回复表单样式 */
.reply-form {
    padding: 0px;
    margin-top: 10px;
}

.reply-form textarea {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    resize: vertical;
    min-height: 80px;
}

.reply-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    outline: none;
}

@media (max-width: 768px) {
    .timeline-item {
        margin-bottom: 1rem;
    }

    .timeline-item .col-auto img {
        width: 40px !important;
        height: 40px !important;
    }

    .child-comments {
        margin-left: 0.5rem !important;
    }

    .child-comment img {
        width: 30px !important;
        height: 30px !important;
    }

    .child-comment {
        padding-left: 0.5rem;
    }

    .reply-form {
        padding: 10px;
    }
}

/* 定价卡片样式 */
.pricing-card-vip {
        border-radius: 12px;
        border: 1px solid #e0e0e0;
        background: #fff;
        padding: 30px 20px;
        height: 100%;
        position: relative;
    }

    .pricing-card-svip {
        border-radius: 12px;
        background: #181e32;
        /* 深蓝色背景 */
        color: #fff;
        padding: 30px 20px;
        position: relative;
        height: 100%;
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    }

    .vip-title {
        color: #28a745;
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .svip-title {
        color: #fff;
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

    .svip-title .fa-crown {
        color: #f39c12;
        margin-right: 10px;
    }

    .price-box {
        margin-bottom: 20px;
        text-align: left;
    }

    .price-num {
        font-size: 48px;
        font-weight: bold;
        line-height: 1;
    }

    .price-unit {
        font-size: 18px;
        color: #6c757d;
    }

    .pricing-card-svip .price-unit {
        color: #aab0c6;
    }

    .pricing-card-svip .price-num {
        color: #fff;
    }

    .original-price {
        color: #6c757d;
        text-decoration: line-through;
        margin-right: 10px;
        font-size: 14px;
    }

    .pricing-card-svip .original-price {
        color: #6c757d;
    }

    .discount-badge {
        background: #dc3545;
        color: #fff;
        font-size: 12px;
        padding: 2px 6px;
        border-radius: 4px;
        vertical-align: middle;
        font-weight: normal;
    }

    .feature-list {
        list-style: none;
        padding: 0;
        margin: 0 0 30px 0;
        text-align: left;
    }

    .feature-list li {
        margin-bottom: 15px;
        display: flex;
        align-items: start;
    }

    .feature-list li .fas {
        margin-top: 5px;
        margin-right: 10px;
        width: 16px;
        text-align: center;
    }

    .pricing-card-vip .fas {
        color: #28a745;
    }

    .pricing-card-svip .fas {
        color: #f39c12;
    }

    .feature-title {
        font-weight: bold;
        display: block;
        font-size: 16px;
    }

    .feature-desc {
        font-size: 12px;
        color: #6c757d;
        display: block;
    }

    .pricing-card-svip .feature-desc {
        color: #aab0c6;
    }

    .svip-privilege-box {
        background: #232942;
        border-radius: 8px;
        padding: 20px;
        margin-top: 20px;
        border: 1px solid #2e3456;
    }

    .privilege-title {
        color: #f39c12;
        font-weight: bold;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        font-size: 16px;
    }

    .privilege-list {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: left;
    }

    .privilege-list li {
        margin-bottom: 10px;
        font-size: 14px;
        color: #fff;
        display: flex;
        align-items: center;
    }

    .privilege-list li .dot {
        color: #f39c12;
        margin-right: 8px;
        font-size: 12px;
    }

    .privilege-list li a {
        color: #00d2ff;
        /* 链接颜色 */
        text-decoration: none;
    }

    .privilege-list li a:hover {
        text-decoration: underline;
    }

    .btn-vip {
        background-color: #00b34a;
        border-color: #00b34a;
        color: #fff;
        font-weight: bold;
        padding: 12px;
        border-radius: 25px;
        /* 圆角按钮 */
        width: 100%;
        display: block;
        text-align: center;
    }

    .btn-vip:hover {
        background-color: #009e41;
        border-color: #009e41;
        color: #fff;
        text-decoration: none;
    }

    .btn-svip {
        background-color: #ff9800;
        border-color: #ff9800;
        color: #fff;
        font-weight: bold;
        padding: 12px;
        border-radius: 25px;
        /* 圆角按钮 */
        width: 100%;
        display: block;
        text-align: center;
    }

    .btn-svip:hover {
        background-color: #f57c00;
        border-color: #f57c00;
        color: #fff;
        text-decoration: none;
    }

    .green-text {
        color: #00d2ff;
    }

/* --- Component Overrides --- */

/* Navbar */
#top-bar {
    background-color: var(--heading-color) !important; /* Ensure override */
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#top-bar .text-white {
    color: #F1F5F9 !important; /* slate-100 */
}

#top-bar nav a {
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

#top-bar nav a:hover {
    opacity: 1;
    text-decoration: none;
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover, .btn-success:focus, .btn-success:active {
    background-color: #059669 !important; /* emerald-600 */
    border-color: #059669 !important;
}

.btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    background-color: #DC2626 !important; /* red-600 */
    border-color: #DC2626 !important;
}

.btn-dark {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.btn-dark:hover, .btn-dark:focus, .btn-dark:active {
    background-color: #0F172A !important; /* slate-900 */
    border-color: #0F172A !important;
}

.btn-light {
    background-color: #F1F5F9; /* slate-100 */
    border-color: #E2E8F0;
    color: var(--dark-color);
}

.btn-light:hover, .btn-light:focus, .btn-light:active {
    background-color: #E2E8F0 !important;
    border-color: #CBD5E1 !important;
}

/* Service Boxes / Features */
.servicebox {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.servicebox:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon .servicetitle span {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.service-icon h5 {
    margin: 1rem 0;
    font-size: 1.25rem;
}

.service-icon p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.service-icon hr {
    width: 50px;
    border-top: 2px solid var(--primary-color);
    margin: 1rem auto;
    opacity: 0.5;
}

/* Cards Global */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    background-color: #fff;
}

.card-footer {
    background-color: transparent;
    border-top: none;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* Cards (Ecosystem & Partners) */
.card.hover-card {
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.card.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title, .card-text a {
    color: var(--heading-color);
    font-weight: 600;
    text-decoration: none;
}

.card-text a:hover {
    color: var(--primary-color);
}

/* Search Bar */
.search-input-group .form-control {
    padding: 0.625rem 1.25rem;
    height: auto;
}
.search-input-group .btn {
    padding: 0.625rem 1.25rem;
}

/* Footer */
footer {
    background-color: transparent;
    border-top: 1px solid var(--border-color) !important;
    padding-top: 4rem !important;
    padding-bottom: 2rem;
}

footer h6 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer a.text-muted {
    color: var(--text-color) !important;
    transition: color 0.2s ease;
}

footer a.text-muted:hover {
    color: var(--primary-color) !important;
    text-decoration: none;
}

/* Sections */
section h2 {
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

section p.text-muted {
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section Specifics (Header in home.php) */
header {
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
    padding: 180px 0 100px;
}

header h1.display-4 {
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

header p.display-5 {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* Back to Top Button */
#topBtn {
    background-color: var(--primary-color);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: var(--shadow-md);
}

#topBtn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Utilities */
.transition-transform {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.text-muted {
    color: #64748B !important; /* slate-500 */
}

/* List Group */
.list-group {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.list-group-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
}

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

.list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Badges */
.badge-primary {
    background-color: var(--primary-color);
}

.badge-success {
    background-color: var(--success-color);
}

.badge-danger {
    background-color: var(--danger-color);
}

.badge-warning {
    background-color: #F59E0B; /* amber-500 */
    color: #fff;
}

.badge-info {
    background-color: var(--secondary-color);
}

.badge-secondary {
    background-color: #94A3B8; /* slate-400 */
}

.badge-light {
    background-color: #F1F5F9; /* slate-100 */
    color: var(--text-color);
}

.badge-dark {
    background-color: var(--dark-color);
}

/* Auth Pages (Login/Signup) Input Styles */
#loginform .form-control,
#regform .form-control,
#forgotform .form-control,
#resetform .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    height: auto;
    border: 1px solid #cbd5e1;
    background-color: #fff;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

#loginform .form-control:focus,
#regform .form-control:focus,
#forgotform .form-control:focus,
#resetform .form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

#loginform .btn-login,
#regform .btn-login,
#forgotform .btn-login,
#resetform .btn-login {
    padding: 0.75rem;
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 0.5rem;
}

.login-heading {
    font-weight: 700;
    color: var(--heading-color);
}
