/* 企业简历筛选系统 - 自定义样式 */

/* 全局样式 */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f6fa;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

.navbar-text {
    font-size: 0.9rem;
}

/* 卡片悬停效果 */
.hover-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary-color);
}

/* 岗位卡片特殊样式 */
.position-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
}

.position-card .card-title {
    color: var(--dark-color);
    font-weight: 600;
}

/* 头像圆圈 */
.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* 表格样式增强 */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.table th {
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 2px solid #dee2e6;
}

/* 徽章样式 */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

/* 按钮组样式 */
.btn-group .btn {
    border-radius: 0.375rem;
    margin-right: 2px;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* 搜索框样式 */
.input-group .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* 模态框样式 */
.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #0b5ed7);
    color: white;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-title {
    font-weight: 600;
}

/* 简历预览样式 */
.resume-preview pre {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    max-height: 400px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* 统计卡片样式 */
.card.border-primary {
    border-width: 2px !important;
}

.card.border-success {
    border-width: 2px !important;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--secondary-color);
}

/* 粘性侧边栏 */
.sticky-top {
    z-index: 1020;
}

/* 空状态样式 */
.text-center i.fa-3x {
    opacity: 0.5;
}

/* 加载动画 */
.spinner-border {
    width: 2rem;
    height: 2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .display-6 {
        font-size: 1.75rem;
    }
    
    .card-body .row.text-center {
        margin-bottom: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        margin-right: 0;
        margin-bottom: 0.25rem;
    }
    
    .navbar-text {
        display: none;
    }
    
    .sticky-top {
        position: relative !important;
        top: auto !important;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .card-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .card-header .d-flex > div {
        margin-top: 0.5rem;
    }
    
    .input-group {
        width: 100% !important;
    }
    
    .form-select {
        width: 100% !important;
        margin-top: 0.5rem;
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.position-card {
    animation: fadeIn 0.5s ease-out;
}

/* 表格行动画 */
.resume-row {
    transition: all 0.2s ease;
}

.resume-row:hover {
    background-color: rgba(13, 110, 253, 0.08) !important;
}

/* 文件图标样式 */
.fa-file-word {
    color: #2b579a;
}

.fa-file-alt {
    color: var(--info-color);
}

.fa-file-contract {
    color: var(--success-color);
}

/* 状态指示器 */
.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.status-indicator.online {
    background-color: var(--success-color);
}

.status-indicator.offline {
    background-color: var(--secondary-color);
}

/* 工具提示样式 */
.tooltip {
    font-size: 0.8rem;
}

/* 进度条样式 */
.progress {
    height: 6px;
    border-radius: 3px;
}

/* 标签云样式 */
.tag-cloud .badge {
    margin: 0.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-cloud .badge:hover {
    transform: scale(1.1);
}

/* 打印样式 */
@media print {
    .navbar,
    .btn,
    .modal,
    .card-footer {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    
    body {
        background-color: white !important;
    }
} 