.detect-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    overflow: hidden;
    width: 1100px;
    min-height: 400px;
    max-width: 90%;
}
.input-wrapper{
    position: relative; height: 300px;margin-bottom: 10px;
}
.input-section {
    padding: 20px;
    width: 75%;
}

.input-section textarea {
    width: 100%;
    height: 320px;
    padding: 5px;
    border: none;
    outline: none;
    border-radius: 5px;
    resize: none;
    font-size: 16px;
}
.output-section {
    background-color: #333;
    color: white;
    padding: 20px;
    width: 25%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
}
.output-section .result {
    font-size: 60px;
    margin-bottom: 10px;
    font-weight: bold;
	
}
.output-section .status {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
	margin-right: 8px;
}
.output-section .status span {
    margin-left: 5px;
}
.btn-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: 5px; */
}
.btn-container button {
    background-color: #000;
    color: rgb(255, 255, 255);
    padding: 10px 30px;
    border: none;
    /* border-radius: 5px; */
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    /* margin-bottom: 10px; */
    height: 40px;
    border-radius: 20px;
    margin-right: 10px;
    

}
.result-view{
	display: flex;justify-content: center;align-items: center;flex-direction: column;
	margin-top: 30px;
}

.btn-container button:hover{
    background-color: #363636;

}

.result-text{
		font-size: 20px;
		margin-bottom: 15px;
	}
	
.progress-container {
    width: 100%;
    background-color: white;
    /* border: 1px solid #ccc; */
    border-radius: 16px;
    /* padding: 3px; */
    margin-bottom: 30px;
}

 .toast-container{
	        position: fixed;
			width: 100%;
	        top: 120px;
	        right: 20px;
	        z-index: 1000;
			/* background-color: #79F93D; */
			display: flex;
			justify-content: center;
	    }
	
	/* Toast message */
	.toast {
	    display: none;
	    min-width: 200px;
	    margin-bottom: 10px;
		border: none;
	    padding: 10px;
	    background-color: #6ad734;
	    color: #fff;
	    text-align: center;
	    border-radius: 5px;
	    opacity: 0.8;
	}
	.loading{
		width: 70px;
		display: none;
	}
@media (max-width:600px) {
    .detect-container {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        width: 90%;
        justify-content: center;
        align-items: center;
    }
    .input-section {
        padding: 20px;
        height: 70%;
        width: 100%;
    }
	.loading{
		width: 40px;
		display: none;
	}
    
    .input-section textarea {
        width: 100%;
        height: 200px;
        padding: 10px;
        border: none;
        outline: none;
        border-radius: 5px;
        resize: none;
        font-size: 16px;
    }

    .output-section {
        background-color: #333;
        color: white;
        padding: 5px 20px;
        width: 100%;
        display: flex;
        height: 30%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
	.output-section .status {
	    display: flex;
	    align-items: center;
	    margin-bottom: 15px;
		margin-right: 8px;
		margin-top: 10px;
	}
	
	.output-section .result {
	    font-size: 30px;
	    /* margin-bottom: 10px; */
	    font-weight: bold;
	}
	.result-view{
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: row;
		text-align: center;
		margin-top: 10px;
		/* margin-top: 10px; */
		
	}
	.result-text{
		font-size: 20px;
		margin-bottom: 0px;
		margin-left: 10px;
		/* margin-bottom: 15px; */
	}
	.status-intro{
		display: flex;
		
	}
	.progress-container {
	    width: 100%;
	    background-color: #ffffff ;
	    /* border: 1px solid #ccc; */
	    border-radius: 16px;
	    /* padding: 3px; */
	    margin-bottom: 10px;
	}
	.progress-bar {
	    width: 10%; /* 进度条的初始宽度，可以根据需要修改 */
	    height: 16px;
	    background-color: #F93D3D;
	    border-radius: 10px 0px 0px 10px;
	}
	
    .input-wrapper{
        height: 190px;
    }
    .btn-container button{
        padding: 10px 20px;
    }
}

.background-section {
    width: 100%;
    min-height: 690px;
    background-image: url('../imgs/xd/home_background.png');
    /* background-size: cover; 使背景图像覆盖整个区域 */
    background-position: center; /* 背景图像居中 */
    background-repeat: no-repeat; /* 不重复背景图像 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-position: center 20px;  */
	
}




.progress-bar {
    width: 0%; /* 进度条的初始宽度，可以根据需要修改 */
    height: 16px;
    background-color: #F93D3D;
    border-radius: 10px 0px 0px 10px;
}

.placeholder-buttons {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    row-gap: 16px;
    column-gap: 30px;
    text-align: center;
    pointer-events: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    max-width: 400px;
}

.placeholder-button {
    cursor: pointer;
    pointer-events: all;
    width: 100%;
    max-width: 160px;
}

.placeholder-button-inner {
    width: 100%;
    height: 48px;
    background: linear-gradient(145deg, #666 0%, #333 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
}

.placeholder-button-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

.placeholder-button-inner i {
    font-size: 16px;
    color: #fff;
}

.placeholder-button-inner span {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    max-width: 110px;
    text-align: center;
}
#textInput[data-placeholder]:empty::before {
    content: attr(data-placeholder);
    color: #999;
    pointer-events: none;
}

