/* 主容器样式 */
.classadvisor-container {
    background: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

/* 各部分区块样式 */
.section {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* 灵感内容样式 */
.inspiration-content {
    background: #e3f2fd;
    padding: 15px;
    border-left: 4px solid #2196F3;
    margin: 15px 0;
    font-size: 15px;
    line-height: 1.6;
    border-radius: 4px;
}

/* 表单元素基础样式 */
.classadvisor-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    margin-top: 10px;
    transition: border-color 0.3s ease;
}

.classadvisor-container textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.1);
}

.classadvisor-container select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 15px;
    height: 45px;
    transition: border-color 0.3s ease;
}

.classadvisor-container select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.1);
}

/* 按钮容器 */
.form-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0 10px;
    flex-wrap: wrap;
}

/* 统一按钮样式 */
.form-buttons .button {
    padding: 12px 30px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
}

/* 按钮悬停效果 */
.form-buttons .button:hover {
    background: #00618e;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 标题样式 */
.section h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* 查看内容区域样式 */
.classadvisor-view {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
}

.entry {
    background: white;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.entry h4 {
    margin-top: 0;
    color: #555;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    font-size: 17px;
}

.content-block {
    margin-bottom: 20px;
}

.content-block p {
    margin: 8px 0;
    line-height: 1.6;
}

.content-label {
    font-weight: bold;
    color: #333;
    margin-top: 15px;
    display: block;
}

.admin-label {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: inline-block;
}

.timestamp {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

/* 登录提示区域样式 */
.recitation-login-prompt {
    text-align: center;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.recitation-login-prompt h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
}

.login-register-links {
    margin-top: 25px;
}

.login-register-links p {
    margin-bottom: 20px;
    color: #555;
    font-size: 16px;
}

.theme-login-button,
.theme-register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    margin: 10px 5px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    width: auto;
}

.theme-login-button {
    background-color: #4CAF50;
    color: white;
}

.theme-register-button {
    background-color: #2196F3;
    color: white;
}

.theme-login-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.theme-register-button:hover {
    background-color: #0b7dda;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.theme-register-link {
    margin-top: 20px;
    color: #666;
    font-size: 15px;
}

.theme-login-link .dashicons,
.theme-register-link .dashicons {
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
}
.classadvisor-view .form-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 10px 0;
}

.classadvisor-view .form-buttons .button {
    padding: 8px 16px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.classadvisor-view .form-buttons .button:hover {
    background: #45a049;
}
/* 响应式调整 */
@media (max-width: 768px) {
    .classadvisor-container,
    .classadvisor-view {
        padding: 15px;
    }
    
    .section {
        padding: 15px;
    }
    
    .form-buttons {
        gap: 15px;
    }
    
    .form-buttons .button {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .form-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-buttons .button {
        width: 100%;
        max-width: 280px;
    }
    
    .theme-login-button,
    .theme-register-button {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 10px auto;
    }
    
    .recitation-login-prompt {
        padding: 30px 15px;
    }
}