/* 加载提示样式 */
#loadingToast .toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

#loadingToast .toast-body {
    padding: 16px 20px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

#loadingToast .spinner-border-sm {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 2px;
}

/* 暗色主题适配 */
[data-bs-theme="dark"] #loadingToast .toast {
    background: rgba(33, 37, 41, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] #loadingToast .toast-body {
    color: #fff;
}
.custom-plan-modal {
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.custom-plan-header {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    color: white;
    border: none;
    padding: 2rem;
    position: relative;
}

.custom-plan-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.custom-plan-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.custom-plan-header .btn-close:hover {
    opacity: 1;
}

.custom-plan-body {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.02), rgba(32, 201, 151, 0.02));
}

.config-section, .price-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(var(--bs-primary-rgb), 0.1);
    display: flex;
    align-items: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.form-label i {
    color: var(--bs-primary);
    font-size: 1rem;
}

.form-control {
    border-radius: 0.75rem;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.15);
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-left: none;
    border-radius: 0 0.75rem 0.75rem 0;
    font-weight: 600;
    color: #6c757d;
}

.form-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.price-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(40, 167, 69, 0.1);
}

.price-details {
    margin-bottom: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-label i {
    color: var(--bs-primary);
    font-size: 0.9rem;
}

.price-value {
    font-weight: 600;
    color: var(--bs-primary);
    font-size: 1rem;
}

.price-total {
    border-top: 2px solid rgba(40, 167, 69, 0.2);
    padding-top: 1rem;
    margin-top: 1rem;
}

.total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #495057;
}

.total-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-plan-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border: none;
    gap: 1rem;
}

.custom-purchase-btn {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.custom-purchase-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.custom-purchase-btn:hover::before {
    left: 100%;
}

.custom-purchase-btn:hover {
    background: linear-gradient(135deg, var(--bs-info), var(--bs-cyan));
    /* 移除transform以防止布局偏移 */
    box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb), 0.3);
}

.btn-outline-secondary {
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* 暗色主题适配 */
[data-bs-theme="dark"] .custom-plan-modal {
    background: #212529;
}

[data-bs-theme="dark"] .custom-plan-body {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(32, 201, 151, 0.05));
}

[data-bs-theme="dark"] .form-label {
    color: #adb5bd;
}

[data-bs-theme="dark"] .form-control {
    background: #343a40;
    border-color: #495057;
    color: #fff;
}

[data-bs-theme="dark"] .form-control:focus {
    background: #343a40;
    border-color: var(--bs-primary);
    color: #fff;
}

[data-bs-theme="dark"] .input-group-text {
    background: #495057;
    border-color: #495057;
    color: #adb5bd;
}

[data-bs-theme="dark"] .price-card {
    background: #343a40;
    border-color: rgba(40, 167, 69, 0.2);
}

[data-bs-theme="dark"] .price-item {
    border-color: #495057;
}

[data-bs-theme="dark"] .price-label {
    color: #adb5bd;
}

[data-bs-theme="dark"] .total-label {
    color: #adb5bd;
}

[data-bs-theme="dark"] .custom-plan-footer {
    background: #343a40;
}

/* 自定义套餐特殊样式 */
.plan-card[data-custom-plan="true"] {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.05), rgba(var(--bs-info-rgb), 0.05));
    border: 2px solid var(--bs-primary);
    position: relative;
    overflow: hidden;
}

.plan-card[data-custom-plan="true"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info), var(--bs-cyan));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.plan-card[data-custom-plan="true"]:hover {
    /* 移除transform以防止布局偏移 */
    box-shadow: 0 20px 50px rgba(var(--bs-primary-rgb), 0.3);
    border-color: var(--bs-info);
}

.plan-card[data-custom-plan="true"] .plan-name {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.plan-card[data-custom-plan="true"] .custom-price {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    display: block;
}

.plan-card[data-custom-plan="true"] .plan-description {
    font-style: italic;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.plan-card[data-custom-plan="true"] .plan-btn {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    border: none;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.plan-card[data-custom-plan="true"] .plan-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.plan-card[data-custom-plan="true"] .plan-btn:hover::before {
    left: 100%;
}

.plan-card[data-custom-plan="true"] .plan-btn:hover {
    background: linear-gradient(135deg, var(--bs-info), var(--bs-cyan));
    /* 移除transform以防止布局偏移 */
    box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb), 0.4);
}

/* 暗色主题适配 */
[data-bs-theme="dark"] .plan-card[data-custom-plan="true"] {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1), rgba(var(--bs-info-rgb), 0.1));
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .plan-card[data-custom-plan="true"] .plan-description {
    color: #adb5bd;
}

/* 商城页面样式 */

/* 页面基础样式 */
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* 优惠信息框样式优化 */
.alert {
    border-radius: 1rem;
    border: 2px solid;
    padding: 1.5rem 2rem;
    min-height: 80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), rgba(var(--bs-primary-rgb), 0.7));
}

.alert-info {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1), rgba(var(--bs-primary-rgb), 0.05));
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.alert-info .bi-megaphone-fill {
    color: var(--bs-primary);
    font-size: 1.5rem;
}

.alert:hover {
    /* 移除transform以防止布局偏移 */
    box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.2);
}

.alert .btn-close {
    font-size: 1.2rem;
    opacity: 0.7;
}

.alert .btn-close:hover {
    opacity: 1;
}

/* 套餐卡片样式 */
.plan-card {
    background: white;
    border-radius: 0.9375rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.plan-card:hover {
    /* 移除transform以防止布局偏移 */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--bs-primary);
}

/* 套餐内容区域 */
.plan-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plan-card.recommended {
    border-color: var(--bs-primary);
    box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.2);
}

.plan-card.recommended::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
}

/* 套餐标签 */
.plan-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bs-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.plan-tag.popular {
    background: var(--bs-warning);
    color: #000;
}

.plan-tag.recommended {
    background: var(--bs-primary);
}

/* 套餐头部 */
.plan-header {
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    position: relative;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bs-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.plan-period {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 套餐周期选择器 */
.period-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 1.5rem;
    padding: 6px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

.period-option {
    padding: 4px 6px;
    border: 1px solid #e9ecef;
    background: white;
    color: #495057;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.period-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.period-option:hover::before {
    left: 100%;
}

.period-option:hover:not(.active):not(.disabled) {
     border-color: var(--bs-primary);
     /* 移除transform以防止布局偏移 */
     box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
 }

.period-option.active {
     background: linear-gradient(135deg, var(--bs-primary), #0056b3);
     color: white;
     border-color: var(--bs-primary);
     box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
     /* 移除transform以防止布局偏移 */
 }

.period-option.active::before {
    display: none;
}

.period-option.disabled {
    background: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.7;
    border-color: #dee2e6;
    box-shadow: none;
}

.period-option.disabled:hover {
    transform: none;
    border-color: #dee2e6;
    box-shadow: none;
}

.period-option.disabled::before {
    display: none;
}

.period-option .period-label {
    display: block;
    margin-bottom: 2px;
}

.period-option .period-unavailable {
    color: var(--bs-danger);
    font-weight: bold;
    font-size: 1.1em;
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    line-height: 1;
}

/* 套餐特性列表 */
.plan-features {
    padding: 0 1.5rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    color: #495057;
    font-size: 0.9rem;
}

.plan-features li i {
    color: var(--bs-primary);
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

/* 套餐按钮 */
.plan-footer {
    padding: 1.5rem;
    margin-top: auto;
    padding-top: 20px;
}

.plan-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--bs-primary);
    background: white;
    color: var(--bs-primary);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.plan-btn:hover {
    background: var(--bs-primary);
    color: white;
    /* 移除transform以防止布局偏移 */
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}

.plan-card.recommended .plan-btn {
    background: var(--bs-primary);
    color: white;
}

.plan-card.recommended .plan-btn:hover {
    background: color-mix(in srgb, var(--bs-primary) 85%, black);
    border-color: color-mix(in srgb, var(--bs-primary) 85%, black);
}

/* 主要内容区域 */
.main-content {
    padding: 20px 0;
    padding-top: 5rem; /* 为导航栏留出空间 */
    padding-bottom: 3rem; /* 增加底部间距，确保与页脚有足够空间 */
}

/* 公告区域间距 */
.announcement {
    margin: 20px 0;
}

/* 特性说明区域 */
.features-section {
    background: #f8f9fa;
    border-radius: 0.9375rem;
    padding: 3rem 2rem;
    margin: 40px 0;
}

/* 页脚间距 */
footer {
    margin-top: 40px;
}

.feature-item {
    padding: 1.5rem 1rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.feature-item h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--bs-dark);
}

.feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* 加载状态 */
.loading-spinner {
    padding: 3rem 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        padding-top: 5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    /* 移除旧的promotion-banner响应式样式 */
    
    .plan-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .plan-price {
        font-size: 2rem;
    }
    
    .period-selector {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .period-option {
        padding: 0.75rem;
    }
    
    .features-section {
        padding: 2rem 1rem;
    }
    
    .feature-item {
        padding: 1rem 0.5rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .plan-card {
        margin-bottom: 1.5rem;
    }
    
    .promotion-text strong {
        display: block;
        margin-bottom: 0.25rem;
    }
}

/* 暗色主题支持 */
[data-bs-theme="dark"] .plan-card {
    background: var(--bs-dark);
    border-color: #495057;
    color: var(--bs-light);
}

[data-bs-theme="dark"] .plan-card:hover {
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .plan-name {
    color: var(--bs-light);
}

[data-bs-theme="dark"] .period-selector {
    background: #495057;
    border-color: #6c757d;
}

[data-bs-theme="dark"] .period-option {
    background: #343a40;
    color: #adb5bd;
    border-color: #6c757d;
}

[data-bs-theme="dark"] .period-option:hover:not(.active):not(.disabled) {
    background: #6c757d;
    color: var(--bs-light);
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .period-option.disabled {
    background: #495057;
    color: #6c757d;
    border-color: #495057;
}

[data-bs-theme="dark"] .plan-features li {
    color: #adb5bd;
}

[data-bs-theme="dark"] .features-section {
    background: #343a40;
}

[data-bs-theme="dark"] .feature-item h5 {
    color: var(--bs-light);
}

[data-bs-theme="dark"] .page-title {
    color: var(--bs-light);
}

[data-bs-theme="dark"] .page-subtitle {
    color: #adb5bd !important;
}

[data-bs-theme="dark"] .period-option.active {
    background: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .period-unavailable {
    color: var(--bs-danger);
}

[data-bs-theme="dark"] .plan-price {
    color: var(--bs-light);
}

[data-bs-theme="dark"] .plan-period {
    color: #adb5bd;
}

[data-bs-theme="dark"] .loading-spinner .text-muted {
    color: #adb5bd !important;
}

/* 套餐卡片暗态支持 */
[data-bs-theme="dark"] .plan-card {
    background: #343a40;
    border-color: #495057;
    color: var(--bs-light);
}

[data-bs-theme="dark"] .plan-card:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

[data-bs-theme="dark"] .plan-name {
    color: var(--bs-light);
}

[data-bs-theme="dark"] .plan-header {
    border-color: #495057;
}

[data-bs-theme="dark"] .plan-footer {
    border-color: #495057;
}

[data-bs-theme="dark"] .plan-btn {
    background: #495057;
    border-color: var(--bs-primary);
    color: var(--bs-light);
}

[data-bs-theme="dark"] .plan-btn:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

[data-bs-theme="dark"] .plan-card.recommended .plan-btn {
    background: var(--bs-primary);
    color: white;
}

/* 特性列表暗态支持 */
[data-bs-theme="dark"] .plan-features {
    color: #adb5bd;
}

[data-bs-theme="dark"] .plan-features .feature-item {
    color: #adb5bd;
}

[data-bs-theme="dark"] .plan-features .feature-item i {
    color: var(--bs-success);
}

/* 推荐标签暗态支持 */
[data-bs-theme="dark"] .recommended-badge {
    background: var(--bs-primary);
    color: white;
}

/* 价格显示暗态支持 */
[data-bs-theme="dark"] .currency {
    color: var(--bs-light);
}

[data-bs-theme="dark"] .price-value {
    color: var(--bs-light);
}

/* 优惠信息框暗态支持 */
[data-bs-theme="dark"] .alert {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .alert-info {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.1));
    border-color: var(--bs-primary);
    color: var(--bs-light);
}

[data-bs-theme="dark"] .alert-info .bi-megaphone-fill {
    color: var(--bs-primary);
}

[data-bs-theme="dark"] .alert:hover {
    box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.3);
}

[data-bs-theme="dark"] .alert .btn-close {
    filter: invert(1);
}