/* 添加消息页面特定样式 */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: #2563eb;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 32px;
    height: 32px;
}

.header h1 {
    margin: 0;
    font-size: 20px;
    color: white;
    font-weight: 600;
}

.nav-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 16px;
}

.nav-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-breadcrumb a:hover {
    color: white;
}

.nav-breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.sub-nav {
    background: #f8fafc;
    padding: 12px 32px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 16px;
}

.sub-nav a {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #64748b;
    transition: all 0.3s;
    font-weight: 500;
}

.sub-nav a:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.sub-nav a.active {
    background: #2563eb;
    color: white;
}

.container {
    flex: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 20px;
    width: 100%;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 24px 0;
}

.form-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 600;
    font-size: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
}

.quill-editor {
    min-height: 300px;
    background: white;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.btn {
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: #2563eb;
    color: white;
    flex: 1;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #f1f5f9;
    color: #64748b;
    flex: 1;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.footer {
    background: #f8fafc;
    padding: 24px 32px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    border-top: 1px solid #e2e8f0;
}

.version-tag {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.version-tag:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}
