/*
Theme Name: 星晢辰科技企业官网主题
Author: 星晢辰科技
Description: 一款现代化的AI First企业官网WordPress主题，集成了AI摘要生成、智能客服等功能。
Version: 2.8.2
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* 导航栏样式 */
.navbar {
    @apply bg-white/80 backdrop-blur-md border-b border-slate-200 sticky top-0 z-50 transition-all duration-300 h-20;
}

.navbar.scrolled {
    @apply shadow-md h-16;
}

/* 主要内容区域 */
main {
    @apply min-h-screen;
}

/* 页脚样式 */
footer {
    @apply bg-white/80 backdrop-blur-md border-t border-slate-200 pt-16 pb-8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr !important;
    }
    
    .md\:flex {
        display: flex !important;
    }
    
    .flex-col {
        flex-direction: column !important;
    }
}

/* 企业微信二维码样式 */
.corporate-wechat-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 1rem;
}

.corporate-wechat-qr {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.5rem;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.corporate-wechat-label {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 0.25rem;
    color: #6b7280;
}

/* 玻璃态效果 */
.bg-white\/80 {
    background-color: rgba(255, 255, 255, 0.8);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

/* 透明度和过渡效果 */
.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.translate-y-0 {
    transform: translateY(0);
}

.translate-y-10 {
    transform: translateY(2.5rem);
}

.transition-all {
    transition: all 0.5s ease;
}

.duration-1000 {
    transition-duration: 1000ms;
}

/* 按钮样式 */
.button-primary {
    background-color: #4f46e5;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
}

.button-primary:hover {
    background-color: #4338ca;
}

/* 表单样式 */
.form-table th {
    text-align: left;
    font-weight: normal;
    padding: 10px 0;
}

.form-table td {
    padding: 10px 0;
}

.regular-text {
    width: 25em;
    max-width: 100%;
    display: block;
}

.large-text {
    width: 25em;
    max-width: 100%;
    display: block;
}

.small-text {
    width: 60px;
}

/* WordPress管理界面样式 */
.notice {
    padding: 12px;
    margin: 5px 0 15px;
    border-left: 4px solid #0073aa;
    background: #f8f9f9;
}

.notice-success {
    border-left-color: #46b450;
    background: #ecf7ed;
}

.is-dismissible {
    position: relative;
}

/* 图片预览样式 */
.image-preview img {
    max-width: 200px;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
}
