:root {
    --primary-color: #4a6cf7;
    --secondary-color: #0f172a;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    background-color: #f9fafb;
    padding-top: 56px;
    padding-bottom: 3rem;
}

/* 导航栏样式 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-link {
    color: var(--dark-color);
    margin-left: 1.5rem;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.user-profile {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.user-profile:hover {
    background-color: #f1f5f9;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(74, 108, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3a5bdf;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: rgba(74, 108, 247, 0.1);
}

/* 页面标题 */
.page-title {
    text-align: center;
    margin: 3rem 0;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-title p {
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* 评价发布区域 */
.review-form-section {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-header {
    margin-bottom: 1.5rem;
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.star {
    font-size: 1.8rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star.active {
    color: #f59e0b;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.char-count {
    text-align: right;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
}

/* 评价列表区域 */
.reviews-section {
    max-width: 800px;
    margin: 0 auto;
}

.reviews-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.filter-options {
    display: flex;
    gap: 1rem;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: relative;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(74, 108, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.reviewer-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.review-meta {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.review-rating {
    color: #f59e0b;
    font-size: 1.2rem;
}

.review-content {
    line-height: 1.6;
    color: #334155;
    margin-bottom: 1rem;
}

.review-date {
    font-size: 0.875rem;
    color: #64748b;
    text-align: right;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .reviews-filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .filter-options {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .review-form-section, .reviews-section {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .nav-link {
        margin-left: 0;
        margin-right: 0.75rem;
    }
    
    .review-header {
        flex-direction: column;
    }
    
    .review-rating {
        margin-top: 0.5rem;
        align-self: flex-start;
    }
}

.pointer{
	cursor:pointer;
}

.topHead{
	position: relative;
}
.topHeadCaozuo{
	display:none;	
	position: absolute;
    top: 40px;
    left: 60px;
    width: 110px;
    font-size: 15px;
    border: 1px solid gray;
    text-align: center;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8); /* 白色光晕 */
  	border-radius: 5px; /* 圆角 */
  	z-index:2002;
  	background-color:#fff;
}

.topHeadCaozuoDiv{
	padding:8px;
	cursor:pointer;
}

