/* my-sweetalert-styles.css */


.swal2-title {
    font-size: 1.2rem !important;
    color: #333;
    margin-bottom: 0.5rem !important;
}

.swal2-content {
    font-size: 0.9rem !important;
}

/* 按钮样式 */
.swal2-actions {
    margin-top: 0.75rem !important;
}

.swal2-styled.swal2-confirm,
.swal2-styled.swal2-cancel {
    font-size: 0.9rem !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 6px !important;
}

.swal2-styled.swal2-confirm {
    background-color: #007bff !important;
    border: none;
}

.swal2-styled.swal2-cancel {
    background-color: #007bff !important;
    border: none;
}

.swal2-toast {
    /* * 注意：这个 max-width 样式和你 .swal2-small-popup 中的类似。
     * 如果你只使用 Toast，可以保留这个；如果你需要两种都用，
     * 它们不会冲突，因为 Toast 有自己的类名。
     */
    max-width: 450px;
    padding: 1rem;
    font-size: 0.9rem;
    border-radius: 25px !important;
}

/*
.swal2-icon {
    font-size: 0.8em !important;
    margin: 0.5rem auto !important;
}
*/

.swal2-html-container {
    /*
     * Toast 的内容容器类名是 .swal2-html-container，
     * 而你旧代码中的是 .swal2-content。
     * 你可以保留这两个，因为它们不冲突。
     */
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
}