/* 资质查询系统样式 */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.search-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #2575fc;
}

.result-card {
    display: none;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.btn-primary {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 117, 252, 0.4);
}

.btn-outline-secondary {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #e1e5ee;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 117, 252, 0.25);
    border-color: #2575fc;
    transform: translateY(-2px);
}

.info-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.info-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding-left: 15px;
    padding-right: 15px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #6c757d;
    min-width: 120px;
    flex-shrink: 0;
}

.info-value {
    color: #212529;
    font-weight: 500;
    flex: 1;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #dee2e6;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.footer {
    text-align: center;
    margin-top: auto;
    padding: 1.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.status-badge {
    font-size: 0.8rem;
    padding: 0.5em 0.8em;
    border-radius: 20px;
}

.qualification-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 10px;
}

.qualification-item:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateX(5px);
}

.loading-spinner {
    display: none;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.alert-custom {
    border-radius: 10px;
    border: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #ffc107;
}

.qualification-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.search-highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 0;
        border-radius: 0 0 15px 15px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .card-body {
        padding: 1.5rem !important;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-label {
        min-width: auto;
        margin-bottom: 0.5rem;
    }

    .btn-primary, .btn-outline-secondary {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}