*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Arial, sans-serif;
}

body
{
	background-color: #ccc;
	color: #333;
}

.custom-alert-overlay
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center; 
    justify-content: center; 
    z-index: 9999;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


/* 显示时的状态 */
.custom-alert-overlay.show
{
	opacity: 1;
	visibility: visible;
}

.custom-alert
{
	
	width: 340px;
	border-radius: 2px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	/* 弹窗本身的动画 */
	transform: translateY(-20px);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 显示时弹窗的状态 */
.custom-alert-overlay.show .custom-alert
{
	transform: translateY(0);
	opacity: 1;
}

.custom-alert-body
{
	background-color: white;
	padding: 25px;
	text-align: center;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.custom-alert-message
{
	font-size: 13px;
	color: #333;
	line-height: 1.6;
}
.custom-alert-message input[type="text"], 
.custom-alert-message input[type="email"], 
.custom-alert-message input[type="password"] {
    width: 100%;
    padding: 6px 12px;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 2px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    margin: 10px 0;
}
/* 输入框聚焦状态 */
.custom-alert-message input[type="text"]:focus,
.custom-alert-message input[type="email"]:focus,
.custom-alert-message input[type="password"]:focus {
    outline: none;
    border-color: #165DFF;
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
}
/* 新增下拉框样式 */
.custom-alert-message select {
    width: 100%;
    padding: 6px 12px;
    font-size: 13px;
		appearance: base-select;
    color: #333;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 2px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    margin: 10px 0;
    /* 下拉框箭头样式调整（可选） */
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11l4-4H4l4 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

/* 下拉框聚焦状态 */
.custom-alert-message select:focus {
    outline: none;
    border-color: #165DFF;
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
}


/* 单选框容器样式 */
.custom-alert-message .radio-group {
    margin: 10px 0;
}

/* 单选框样式 */
.custom-alert-message input[type="radio"] {
    margin: 0 8px 0 15px;
    vertical-align: middle;
}

/* 第一个单选框取消左侧间距 */
.custom-alert-message input[type="radio"]:first-of-type {
    margin-left: 0;
}

/* 单选框标签样式 */
.custom-alert-message input[type="radio"] + label {
    color: #333;
    font-size: 13px;
    margin-right: 10px;
    cursor: pointer;
}

.custom-alert-footer
{
	background-color: white;
	padding: 12px 15px;
	text-align: center;
	border-top: 1px solid #f0f0f0;
}

.custom-alert-btn
{
	background-color: #e53e3e;
	color: white;
	border: none;
	padding: 7px 25px;
	border-radius: 2px;
	cursor: pointer;
	font-size: 12px;
	transition: background-color 0.2s;
}

/* 成功状态按钮 */
.custom-alert-btn.success
{
    background-color: #38a169;
}

.custom-alert-btn.success:hover
{
    background-color: #2f855a;
}

/* 错误状态按钮 */
.custom-alert-btn.error
{
    background-color: #e53e3e;
}

.custom-alert-btn.error:hover
{
    background-color: #c53030;
}

/* 信息状态按钮 */
.custom-alert-btn.info
{
    background-color: #3182ce;
}

.custom-alert-btn.info:hover
{
    background-color: #2b6cb0;
}
