/* 用户菜单 */
.user-menu {
    position: relative;
    margin-left: 1rem;
}
.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    background: #f5f7fa;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.15s ease;
    font-family: inherit;
}
.user-btn:hover {
    border-color: #2563eb;
    background: #dbeafe;
    color: #2563eb;
}
.user-btn svg { width: 18px; height: 18px; }
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.15s ease;
    z-index: 1001;
}
.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
    font-size: 0.875rem;
    color: #1e293b;
}
.user-dropdown-item:hover {
    background: #f5f7fa;
}
.user-dropdown-item svg {
    width: 18px;
    height: 18px;
    color: #2563eb;
    flex-shrink: 0;
}
.user-dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
}
.resume-status {
    padding: 0.75rem;
    background: #f5f7fa;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}
.resume-status-label {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}
.resume-status-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.resume-status-badge {
    font-size: 0.6875rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    background: #dcfce7;
    color: #15803d;
    font-weight: 600;
}
.resume-empty-text {
    font-size: 0.8125rem;
    color: #94a3b8;
}
#resumeFileInput { display: none; }

/* 投递提醒弹窗 */
.apply-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease;
}
.apply-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.apply-modal {
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    padding: 2rem;
    text-align: center;
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s ease;
}
.apply-modal-overlay.show .apply-modal {
    transform: scale(1) translateY(0);
}
.apply-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fef3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 28px;
}
.apply-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}
.apply-modal-desc {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.apply-modal-actions {
    display: flex;
    gap: 0.75rem;
}
.apply-modal-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.apply-modal-btn.primary {
    background: #2563eb;
    color: white;
}
.apply-modal-btn.primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}
.apply-modal-btn.secondary {
    background: #f5f7fa;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}
.apply-modal-btn.secondary:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .user-menu { display: none; }
}

/* 反馈弹窗 */
.feedback-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease;
}
.feedback-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.feedback-modal {
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    padding: 1.75rem;
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}
.feedback-modal-overlay.show .feedback-modal {
    transform: scale(1) translateY(0);
}
.feedback-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.feedback-modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.feedback-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.15s ease;
    border: none;
    background: none;
}
.feedback-modal-close:hover {
    background: #f5f7fa;
    color: #1e293b;
}
.feedback-modal-close svg { width: 20px; height: 20px; }
.feedback-type-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.feedback-type-btn {
    flex: 1;
    padding: 0.625rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}
.feedback-type-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}
.feedback-type-btn.active {
    background: #dbeafe;
    border-color: #2563eb;
    color: #2563eb;
}
.feedback-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: block;
}
.feedback-form-textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.875rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    font-family: inherit;
    color: #1e293b;
    resize: vertical;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
    line-height: 1.6;
}
.feedback-form-textarea:focus {
    outline: none;
    border-color: #2563eb;
}
.feedback-form-textarea::placeholder {
    color: #94a3b8;
}
.feedback-form-input {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    font-family: inherit;
    color: #1e293b;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
}
.feedback-form-input:focus {
    outline: none;
    border-color: #2563eb;
}
.feedback-form-input::placeholder {
    color: #94a3b8;
}
.feedback-form-group {
    margin-bottom: 1rem;
}
.feedback-form-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.375rem;
}
.feedback-submit-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border: none;
    background: #2563eb;
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    margin-top: 0.5rem;
}
.feedback-submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}
.feedback-submit-btn:disabled {
    background: #93c5fd;
    cursor: not-allowed;
    transform: none;
}
