/* 基础样式 */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f7f8fe 0%, #e0f2fe 100%);
}

.auth-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 480px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #71717a;
    font-size: 1rem;
}

.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.auth-footer a {
    color: #2072f3;
    text-decoration: none;
    font-weight: 500;
}

/* 表单容器 */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.form-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.form-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2072f3, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-header p {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* 表单组件 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #374151;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2072f3;
    box-shadow: 0 0 0 3px rgba(32, 114, 243, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.form-hint {
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.4;
}

.form-hint a {
    color: #2072f3;
    text-decoration: none;
}

.form-hint a:hover {
    text-decoration: underline;
}

/* 表单行 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* 表单分区 */
.form-section {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.form-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

/* 表单操作 */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.form-actions .btn {
    flex: 1;
}

.btn-block {
    width: 100%;
}

/* 页面容器 */
.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 0.75rem;
}

.page-header p {
    color: #6b7280;
    font-size: 1.125rem;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 1rem;
}

/* 团队列表 */
.team-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-item {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.team-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.team-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.team-item-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 0.25rem;
}

.team-item-actions {
    display: flex;
    gap: 0.5rem;
}

/* 脑洞预览 */
.mindgap-preview {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #f3f4f6;
}

.mindgap-preview h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 1rem;
}

.mindgap-meta {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* 提示框 */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid;
    margin-bottom: 1.5rem;
}

.alert h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.alert p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.alert p:last-child {
    margin-bottom: 0;
}

.alert-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border-color: #10b981;
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border-color: #ef4444;
}

.alert-info {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0c4a6e;
    border-color: #2072f3;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-color: #f59e0b;
}

.btn-cancel {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #6b7280;
    border: 1px solid #d1d5db;
}
.btn-secondary {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    color: #4b5563;
    border-color: #9ca3af;
}
  .btn { padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-size: 0.95rem; font-weight: 500; border: none; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
        .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
        .btn-primary { background: linear-gradient(135deg, #2072f3, #0052cc); color: white; }
        .btn-secondary { background: #f7f8fe; color: #2072f3; border: 1px solid #e5e7eb; }
        .btn-success { background: linear-gradient(135deg, #10b981, #059669); color: white; }
        .btn-warning { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
        .btn-danger { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
        .btn-small { padding: 0.5rem 1rem; font-size: 0.875rem; }
        
/* 响应式调整 */
@media (max-width: 768px) {
    .auth-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .form-container {
        padding: 1rem;
    }
    
    .form-header h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .team-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .team-item-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}