/* Slide Verification Styles */
.slide-verify {
    width: 100%; /* Adjust to 100% width */
    position: relative;
    user-select: none;
    margin-bottom: 20px;
}

.slide-track {
    width: 100%;
    height: 40px;
    background-color: #ffffff; /* White background */
    border: 1px solid #e0e0e0; /* Light gray border */
    border-radius: 4px; /* Rounded corners */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

.slide-block {
    width: 60px; /* Increase slider block width */
    height: 100%;
    background-color: #f5f5f5; /* Light gray slider block */
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px; /* Rounded corners */
    border: 1px solid #e0e0e0; /* Slider block border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
}

.slide-block:hover {
    background-color: #e0e0e0; /* Slightly darker gray on hover */
}

.slide-icon {
    color: #4CAF50; /* Green icon */
    font-size: 24px; /* Increase icon size */
}

.slide-text {
    width: 0;
    height: 100%;
    line-height: 40px;
    text-align: center;
    color: #333; /* Dark gray text */
    font-size: 16px; /* Increase font size */
    position: absolute;
    top: 0;
    left: 0;
    background-color: #f5f5f5; /* Light gray background */
    transition: width 0.3s ease;
    white-space: nowrap;
    border-radius: 4px; /* Rounded corners */
}

.slide-track::before {
    content: '拖动滑块以验证'; /* Initial prompt text */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #888; /* Gray text */
    font-size: 14px; /* Prompt text size */
    pointer-events: none; /* Prevent interference with dragging */
}

.verified .slide-block {
    background-color: #f5f5f5; /* Light gray slider block */
    cursor: default;
    border: 1px solid #e0e0e0; /* Slider block border */
}

.verified .slide-text {
    background-color: #f5f5f5; /* Light gray background */
    color: #333; /* Dark gray text */
}

/* Verification success indicator */
.verified .slide-track::after {
    content: ''; /* Use SVG icon */
    position: absolute;
    right: 10px; /* Right position */
    top: 50%;
    transform: translateY(-50%);
    width: 24px; /* Icon size */
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234CAF50' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E"); /* Green SVG icon */
    background-repeat: no-repeat;
    background-size: contain;
}

.verified .slide-track::before {
    content: ''; /* Hide prompt text after verification */
}