/* 控制台页面样式 */
.config-section {
    margin-bottom: 2rem;
}
.config-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 700;
}
.option-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1rem;
}
.option-card {
    width: 100%;
    height: 100%;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}
.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: rgba(41,98,255,0.3);
}
.option-card.selected {
    border-color: #2962ff;
    background-color: rgba(41,98,255,0.05);
    box-shadow: 0 10px 20px rgba(41,98,255,0.15);
}
.option-card.selected:after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    background: #2962ff;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}
.count-badge {
    font-size: 0.75rem;
    font-weight: normal;
    color: #666;
    vertical-align: middle;
}
.count-badge.has-products {
    color: #2962ff;
    font-weight: 600;
}
.option-card.selected .count-badge {
    color: #2962ff;
}
.country-select-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-height: 300px !important;
    padding: 8px;
}
#country-search {
    font-size: 16px;
    padding: 12px 15px 12px 0;
}
.input-group-text {
    padding-left: 15px;
    font-size: 18px;
}
.country-item {
    border: 1px solid #e9ecef;
    padding: 8px 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #ffffff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.03);
    position: relative;
}
.country-item:hover {
    background-color: #f8f9fa;
    border-color: rgba(41,98,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}
.country-item.active {
    background-color: rgba(41,98,255,0.05);
    border-color: #2962ff;
    box-shadow: 0 8px 15px rgba(41,98,255,0.15);
}
.country-item.active:after {
    content: "✓";
    position: absolute;
    top: 6px;
    right: 6px;
    background: #2962ff;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}
.flag {
    width: 28px !important;
    height: 19px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 3px;
}
.badge {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 30px !important;
}
.product-results {
    margin-top: 2rem;
}
.product-card {
    margin-bottom: 20px;
}
.product-header {
    padding: 15px;
}
.product-body {
    padding: 15px;
}
.product-specs {
    gap: 15px;
    margin-bottom: 15px;
}
.product-badge {
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}
.badge-type {
    background-color: #e3f2fd;
    color: #1976d2;
}
.product-footer {
    padding: 20px 25px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-price {
    font-size: 26px;
    font-weight: 800;
    color: #e74c3c;
}
.price-period {
    font-size: 16px;
    color: #95a5a6;
    font-weight: normal;
}
.btn-primary {
    background: #7c3aed;
    border-color: #7c3aed;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: #5b21b6;
    border-color: #5b21b6;
    box-shadow: 0 5px 15px rgba(124,58,237,0.3);
}
#searchBtn {
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0px;
    box-shadow: 0 4px 10px rgba(124,58,237,0.15);
}
#searchBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(41,98,255,0.2);
}
body {
    background-color: #f8f9fa;
}
.icon-wrapper {
    width: 45px;
    height: 45px;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(41,98,255,0.1);
    transition: all 0.3s ease;
}
.option-card:hover .icon-wrapper {
    transform: scale(1.1);
    background: rgba(41,98,255,0.2);
}
.option-card.selected .icon-wrapper {
    background: rgba(41,98,255,0.3);
}
.spec-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    margin: 0 auto;
    font-size: 18px;
}
.section-header {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 10px;
}
.section-header:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #2962ff, #82b1ff);
    border-radius: 1.5px;
}
.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 16px;
    overflow: hidden;
}
.card-body {
    padding: 20px;
}
.highlight-bg {
    background: linear-gradient(45deg, rgba(41,98,255,0.03), rgba(0,210,255,0.03));
}
.d-flex.align-items-center.mb-4 {
    margin-bottom: 15px !important;
}
.rounded-circle.bg-info.bg-opacity-10.p-3 {
    padding: 10px !important;
}
.input-group.input-group-lg.mb-4 {
    margin-bottom: 15px !important;
}
.country-item .flag {
    width: 28px !important;
    height: 19px !important;
}
.row.g-3 {
    --bs-gutter-y: 0.75rem;
}
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
.mb-5 {
    margin-bottom: 2rem !important;
}
.text-center.mt-5 {
    margin-top: 1.5rem !important;
}
.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

#productTypeSection .row {
    row-gap: 10px !important;
}
#productTypeSection .option-card {
    padding: 10px 12px;
}
#productTypeSection .option-card h5 {
    font-size: 0.95rem !important;
}
#productTypeSection .option-card p {
    font-size: 0.75rem;
    line-height: 1.2;
}
.country-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #e9ecef !important;
    box-shadow: none !important;
}
.country-item.disabled:hover {
    transform: none !important;
    background-color: #ffffff !important;
    border-color: #e9ecef !important;
    box-shadow: none !important;
} 