/* Header Footer 通用样式 */
body {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
}

::-webkit-scrollbar {
    display: none;
}

.lang_text {
    font-size: 18px !important;
}

.lang_line {
    margin: 0 8px 50px 8px !important;
    color: white;
}

.lang_container {
    margin-bottom: 50px;
}

/* Fraud Recovery下拉菜单样式 */
.fraud_recovery_dropdown {
    overflow: hidden;
    transition: all 0.8s ease;
    margin-bottom: 0.5rem;
}

.fraud_recovery_current {
    color: #ffffff;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase !important;
    cursor: pointer;
    text-decoration: none;
}

.fraud_recovery_menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease;
    background-color: #1e3a8a;
    border-radius: 0 0 8px 8px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    margin: 0;
    padding: 0;
}

.fraud_recovery_menu li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fraud_recovery_menu li a {
    display: block;
    padding: 10px 12px;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.fraud_recovery_menu li a:hover {
    background-color: #2563eb;
}

.fraud_recovery_dropdown:hover .fraud_recovery_menu {
    max-height: 24rem;
}

.fraud_recovery_dropdown.active .fraud_recovery_menu {
    max-height: 24rem;
}

.fraud_recovery_dropdown .arrow {
    margin-left: 5px;
    transition: transform 0.3s;
}

.fraud_recovery_dropdown:hover .arrow,
.fraud_recovery_dropdown.active .arrow {
    transform: rotate(180deg);
}

/* 移动端响应式样式 */
@media (max-width: 575.98px) {
    .fraud_recovery_current {
        font-size: 25px !important;
    }
}

/* Fraud Recovery浮动层样式 */
.fraud-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
    /* 使用flexbox实现垂直水平居中 */
    justify-content: center;
    align-items: center;
}

.fraud-modal-content {
    background-color: white;
    /* 移除margin，使用flexbox居中 */
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    /* 确保在小屏幕上不会超出视窗 */
    max-height: 90vh;
    overflow-y: auto;
}

.fraud-modal-header {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fraud-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.fraud-modal-close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.fraud-modal-close:hover {
    color: #f1f5f9;
}

.fraud-modal-body {
    padding: 30px;
}

.fraud-modal-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fraud-modal-links li {
    margin-bottom: 15px;
}

.fraud-modal-links li a {
    display: block;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #1e293b;
    text-decoration: none;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
    font-weight: 500;
}

.fraud-modal-links li a:hover {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* 轮播图样式 - 仅用于首页 */
#heroCarousel {
    position: absolute;
    top: 70px; /* 给导航栏留出空间 */
    left: 0;
    width: 100%;
    height: calc(100% - 70px); /* 减去导航栏高度 */
    z-index: -1;
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: calc(100vh - 70px); /* 减去导航栏高度 */
}

#heroCarousel .bg-img {
    height: calc(100vh - 70px); /* 减去导航栏高度 */
    object-fit: cover;
    object-position: center;
}

#heroCarousel .carousel-indicators {
    bottom: 20px;
    z-index: 15;
}

#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    opacity: 0.5;
}

#heroCarousel .carousel-indicators button.active {
    opacity: 1;
    background-color: white;
}

/* 移动端卡片样式 - 仅用于team页面 */
@media (max-width: 767px) {
    .mobile-card {
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin: 0 2px 10px 2px;
        padding: 0;
        overflow: hidden;
        height: auto;
    }
    
    .img-lawyer-card_container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
        display: block;
    }
    
    .img-lawyer-card_container a {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .lawyer-img {
        width: 100% !important; 
        height: 180px !important; 
        object-fit: cover !important; 
        object-position: top !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
    
    .lawyer-info_container {
        padding: 8px 8px 10px 8px;
    }
    
    .lawyer-name {
        font-size: 12px;
        font-weight: 400;
        margin: 0 0 4px 0;
        color: #333;
        line-height: 1.2;
    }
    
    .lawyer-phone {
        font-size: 11px;
        color: #994a58;
        margin-bottom: 6px;
        font-weight: 500;
        line-height: 1.2;
    }
    
    .contact-btn {
        display: inline-block;
        background: #fff;
        color: #d32f2f;
        border: 1px solid #d32f2f;
        padding: 4px 14px;
        border-radius: 3px;
        text-decoration: none;
        font-size: 11px;
        font-weight: 500;
        transition: all 0.3s;
        line-height: 1.2;
        cursor: pointer;
        pointer-events: auto;
        z-index: 9999;
        position: relative;
    }
    
    .contact-btn:hover {
        background: #d32f2f;
        color: white;
        text-decoration: none;
    }
    
    .concord_employee {
        padding: 0 2px;
        margin-bottom: 5px;
    }
    
    .lawyer-card_content {
        padding: 0;
        margin: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .mt-3 {
        margin-top: 6px !important;
    }
}

/* 桌面端保持原样式 */
@media (min-width: 768px) {
    .lawyer-img {
        width: 100%; 
        height: 250px; 
        object-fit: cover; 
        object-position: top;
        z-index: 10;
    }
} 