/* 现代化组件样式 - 伙伴CRM系统 */

/* ===== 现代化表单组件 ===== */
.modern-input {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.75rem !important;
    color: var(--text-contrast) !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem;
}

.modern-input:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
    color: var(--text-contrast) !important;
    transform: translateY(-1px);
}

.modern-input::placeholder {
    color: var(--text-contrast-muted) !important;
    opacity: 0.8;
}

.modern-select {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.75rem !important;
    color: var(--text-contrast) !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem;
}

.modern-select:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
    color: var(--text-contrast) !important;
    transform: translateY(-1px);
}

.modern-select option {
    background: var(--bg-primary);
    color: var(--text-contrast);
    padding: 0.5rem;
}

.modern-textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.75rem !important;
    color: var(--text-contrast) !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 100px;
}

.modern-textarea:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
    color: var(--text-contrast) !important;
    transform: translateY(-1px);
}

.modern-textarea::placeholder {
    color: var(--text-contrast-muted) !important;
    opacity: 0.8;
}

/* ===== 现代化复选框和单选框 ===== */
.modern-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-checkbox:checked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.modern-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.modern-radio {
    appearance: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-radio:checked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.modern-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* ===== 现代化按钮样式 ===== */
.btn {
    border-radius: 0.75rem !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4) !important;
    background: linear-gradient(135deg, #5a6268 0%, #3d4245 100%) !important;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4) !important;
    background: linear-gradient(135deg, #218838 0%, #1cb085 100%) !important;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4) !important;
    background: linear-gradient(135deg, #c82333 0%, #d6336c 100%) !important;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%) !important;
    color: #212529 !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4) !important;
    background: linear-gradient(135deg, #e0a800 0%, #e8690b 100%) !important;
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.btn-info:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.4) !important;
    background: linear-gradient(135deg, #138496 0%, #5a32a3 100%) !important;
}

.btn-light {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #212529 !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-light:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 1) !important;
}

.btn-dark {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(52, 58, 64, 0.3);
}

.btn-dark:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(52, 58, 64, 0.4) !important;
    background: linear-gradient(135deg, #23272b 0%, #16181b 100%) !important;
}

/* ===== 轮廓按钮样式 ===== */
.btn-outline-primary {
    background: rgba(102, 126, 234, 0.1) !important;
    border: 2px solid rgba(102, 126, 234, 0.5) !important;
    color: #667eea !important;
    backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #667eea !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
}

.btn-outline-secondary {
    background: rgba(108, 117, 125, 0.1) !important;
    border: 2px solid rgba(108, 117, 125, 0.5) !important;
    color: #6c757d !important;
    backdrop-filter: blur(10px);
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    border-color: #6c757d !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3) !important;
}

.btn-outline-success {
    background: rgba(40, 167, 69, 0.1) !important;
    border: 2px solid rgba(40, 167, 69, 0.5) !important;
    color: #28a745 !important;
    backdrop-filter: blur(10px);
}

.btn-outline-success:hover {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border-color: #28a745 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3) !important;
}

.btn-outline-danger {
    background: rgba(220, 53, 69, 0.1) !important;
    border: 2px solid rgba(220, 53, 69, 0.5) !important;
    color: #dc3545 !important;
    backdrop-filter: blur(10px);
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%) !important;
    border-color: #dc3545 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3) !important;
}

.btn-outline-warning {
    background: rgba(255, 193, 7, 0.1) !important;
    border: 2px solid rgba(255, 193, 7, 0.5) !important;
    color: #ffc107 !important;
    backdrop-filter: blur(10px);
}

.btn-outline-warning:hover {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%) !important;
    border-color: #ffc107 !important;
    color: #212529 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3) !important;
}

.btn-outline-info {
    background: rgba(23, 162, 184, 0.1) !important;
    border: 2px solid rgba(23, 162, 184, 0.5) !important;
    color: #17a2b8 !important;
    backdrop-filter: blur(10px);
}

.btn-outline-info:hover {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%) !important;
    border-color: #17a2b8 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.3) !important;
}

/* ===== 按钮组样式 ===== */
.btn-group .btn {
    border-radius: 0 !important;
}

.btn-group .btn:first-child {
    border-radius: 0.75rem 0 0 0.75rem !important;
}

.btn-group .btn:last-child {
    border-radius: 0 0.75rem 0.75rem 0 !important;
}

.btn-group .btn:only-child {
    border-radius: 0.75rem !important;
}

/* ===== 现代化徽章样式 ===== */
.modern-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.modern-badge-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.modern-badge-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.modern-badge-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.modern-badge-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%) !important;
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.modern-badge-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%) !important;
    color: #212529 !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.modern-badge-info {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%) !important;
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.modern-badge-light {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #212529 !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.modern-badge-dark {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%) !important;
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(52, 58, 64, 0.3);
}

/* ===== 现代化表格样式 ===== */
.modern-table {
    background: transparent !important;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-table th {
    background: rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-contrast) !important;
    font-weight: 600 !important;
    padding: 1rem 0.75rem !important;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modern-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: var(--text-contrast-light) !important;
    padding: 1rem 0.75rem !important;
    vertical-align: middle !important;
    transition: all 0.3s ease;
}

.modern-table tbody tr {
    transition: all 0.3s ease;
}

.table-row-hover:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    transform: translateX(3px);
}

.modern-link {
    transition: all 0.3s ease;
    position: relative;
}

.modern-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.modern-link:hover::after {
    width: 100%;
}

.modern-link:hover {
    color: #5a6fd8 !important;
    transform: translateY(-1px);
}

/* ===== 现代化分页样式 ===== */
.modern-pagination .page-link {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--text-contrast) !important;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
}

.modern-pagination .page-link:hover {
    background: rgba(102, 126, 234, 0.2) !important;
    border-color: #667eea !important;
    color: #667eea !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2) !important;
}

.modern-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #667eea !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

.modern-pagination .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-contrast-muted) !important;
    opacity: 0.5;
}

/* ===== 现代化卡片样式 ===== */
.glass-effect {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.glass-effect:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15) !important;
}

.hover-lift {
    transition: all 0.3s ease !important;
}

.hover-lift:hover {
    transform: translateY(-2px) !important;
}

/* ===== 现代化面包屑导航 ===== */
.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/' !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 0.5rem !important;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.breadcrumb-item a:hover {
    color: white !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.breadcrumb-item.active {
    color: white !important;
    font-weight: 500;
}

/* ===== 现代化模态框样式 ===== */
.modal-content {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 1.5rem !important;
    border-radius: 1.5rem 1.5rem 0 0 !important;
}

.modal-title {
    color: var(--text-contrast) !important;
    font-weight: 600 !important;
}

.modal-body {
    padding: 1.5rem !important;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0 0 1.5rem 1.5rem !important;
}

.btn-close {
    background: transparent !important;
    border: none !important;
    font-size: 1.2rem !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
}

.btn-close:hover {
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

/* ===== 现代化提示框样式 ===== */
.tooltip {
    font-size: 0.8rem !important;
}

.tooltip-inner {
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 0.5rem !important;
    padding: 0.5rem 0.75rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* ===== 现代化下拉菜单样式 ===== */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 1rem !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    padding: 0.5rem !important;
}

.dropdown-item {
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
    color: var(--text-contrast) !important;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.1) !important;
    color: #667eea !important;
    transform: translateX(3px) !important;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1) !important;
    margin: 0.5rem 0 !important;
}

/* ===== 现代化进度条样式 ===== */
.progress {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 1rem !important;
    height: 0.75rem !important;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 1rem !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== 现代化警告框样式 ===== */
.alert {
    border: none !important;
    border-radius: 1rem !important;
    padding: 1rem 1.5rem !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.alert-primary {
    background: rgba(102, 126, 234, 0.1) !important;
    color: #667eea !important;
    border-left: 4px solid #667eea !important;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1) !important;
    color: #28a745 !important;
    border-left: 4px solid #28a745 !important;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
    border-left: 4px solid #dc3545 !important;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1) !important;
    color: #856404 !important;
    border-left: 4px solid #ffc107 !important;
}

.alert-info {
    background: rgba(23, 162, 184, 0.1) !important;
    color: #17a2b8 !important;
    border-left: 4px solid #17a2b8 !important;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem !important;
    }
    
    .modern-input,
    .modern-select,
    .modern-textarea {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.9rem !important;
    }
    
    .modern-badge,
    .modern-badge-primary,
    .modern-badge-secondary,
    .modern-badge-success,
    .modern-badge-danger,
    .modern-badge-warning,
    .modern-badge-info,
    .modern-badge-light,
    .modern-badge-dark {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.7rem !important;
    }
    
    .modern-pagination .page-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem !important;
    }
    
    .modal-content {
        margin: 1rem !important;
        border-radius: 1rem !important;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem !important;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .btn-group .btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
    
    .modern-input,
    .modern-select,
    .modern-textarea {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem !important;
    }
    
    .glass-effect {
        border-radius: 1rem !important;
    }
    
    .modern-pagination .page-link {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.8rem !important;
        margin: 0 0.1rem !important;
    }
}

/* ===== 无障碍访问 ===== */
@media (prefers-reduced-motion: reduce) {
    .btn,
    .modern-input,
    .modern-select,
    .modern-textarea,
    .modern-checkbox,
    .modern-radio,
    .glass-effect,
    .hover-lift,
    .modern-link,
    .modern-pagination .page-link,
    .table-row-hover,
    .dropdown-item,
    .progress-bar {
        transition: none !important;
        animation: none !important;
    }
    
    .btn:hover,
    .hover-lift:hover,
    .glass-effect:hover {
        transform: none !important;
    }
}

/* ===== 高对比度模式 ===== */
@media (prefers-contrast: high) {
    .modern-input,
    .modern-select,
    .modern-textarea,
    .glass-effect,
    .modern-pagination .page-link {
        border-width: 2px !important;
        border-style: solid !important;
    }
    
    .modern-table th,
    .modern-table td {
        border-bottom-width: 2px !important;
    }
}