:root {
    --primary-color: #07c160;
    --primary-dark: #06ad56;
}

/* 导航栏样式 */
.header-link {
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.header-link:hover {
    color: #111827;
}

.user-info-btn {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.user-info-btn:hover {
    background-color: #f3f4f6;
}

.user-info-btn img {
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    object-fit: cover;
}

.menu-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.menu-item:hover {
    background-color: #f3f4f6;
}

/* 按钮样式 */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.primary-btn {
    background-color: #07c160;
    color: white;
}

.primary-btn:hover {
    background-color: #06ad56;
}

.secondary-btn {
    background-color: white;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.secondary-btn:hover {
    background-color: #f9fafb;
}

.login-btn {
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.login-btn:hover {
    color: #111827;
}

.register-btn {
    background-color: #07c160;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.register-btn:hover {
    background-color: #06ad56;
}

/* 特性区域样式 */
.feature-box {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-box:nth-child(1) .icon-wrapper {
    background-color: #eff6ff;
}

.feature-box:nth-child(1) .icon-wrapper i {
    color: #3b82f6;
}

.feature-box:nth-child(2) .icon-wrapper {
    background-color: #fef3c7;
}

.feature-box:nth-child(2) .icon-wrapper i {
    color: #f59e0b;
}

.feature-box:nth-child(3) .icon-wrapper {
    background-color: #ecfdf5;
}

.feature-box:nth-child(3) .icon-wrapper i {
    color: #10b981;
}

.icon-wrapper i {
    font-size: 1.25rem;
}

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* 模态框样式 */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 20rem;
    text-align: center;
}

.modal-icon {
    width: 3rem;
    height: 3rem;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #ef4444;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.btn-cancel, .btn-confirm {
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.btn-cancel {
    color: #6b7280;
}

.btn-confirm {
    color: #ef4444;
}

.btn-cancel:hover, .btn-confirm:hover {
    background-color: #f3f4f6;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    width: 12rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
}

.dropdown-item {
    display: block;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

/* 通知按钮样式 */
.notification-btn {
    position: relative;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.notification-btn:hover {
    background-color: #f3f4f6;
}

.notification-btn i {
    font-size: 1.25rem;
    transition: color 0.2s;
}

.notification-btn:hover i {
    color: #111827;
}

/* 通知徽标 */
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 100% !important;
}

.max-w-5xl {
    max-width: 64rem !important;
}