body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
/*button {*/
/*    padding: 10px 20px;*/
/*    background-color: #4CAF50;*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 5px;*/
/*    cursor: pointer;*/
/*}*/
/*button:hover {*/
/*    background-color: #45a049;*/
/*}*/
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.captcha-window {
    background: white;
    padding: 30px 6px 20px 6px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    position: relative;
    width: 260px;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.captcha-window h2 {
    margin: 0 0 10px 0;
    font-size: 17px;
    text-align: center;
}
.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 28px;
    color: #555;
    cursor: pointer;
}
.captcha-img-box {
    position: relative;
    width: 240px;
    height: 150px;
    margin: 0 auto 20px auto;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
}
.captcha-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.refresh-captcha {
    display: block;
    margin: 20px 0 0 0;
    color: #007BFF;
    cursor: pointer;
    padding-left: 12px;
    background: none;
    border: none;
    font-size: 15px;
}
.refresh-captcha:hover {
    text-decoration: none;
}
.drag-container {
    position: relative;
    width: 240px;
    height: 50px;
    margin: 20px auto 0 auto;
    background: #f0f0f0;
    border-radius: 15px;
    user-select: none;
}
.drag-text {
    position: absolute;
    left: 80px; top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 16px;
}
.handler {
    position: absolute;
    top: 0; left: 0;
    width: 50px; height: 50px;
    background: url('../images/drag/drag-right.png') 100% 100% no-repeat;
    background-size: 100%;
    border-radius: 15px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}
.handler img {
    width: 80%;
    margin: 10%;
    height: 80%;
}
.handler.success {
    background: #0955a1;
}
.puzzle-piece {
    position: absolute;
    top: 0;
    width: 50px; height: 150px;
    pointer-events: none;
    z-index: 1;
}
.drag-bg {
    position: absolute;
    top: 0; left: 0;
    height: 50px;
    background: #5194d8;
    border-radius:15px;
    z-index: 2;
}