/* DDKK Notice Core 验证弹窗样式 */

/* 验证容器 */
.ddkk-verify-container {
    padding: 30px;
    line-height: 22px;
    background-color: #ffffff;
    color: rgba(0, 0, 0, 0.88);
    font-weight: 400;
    text-align: center;
}

/* 验证头部 */
.ddkk-verify-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.ddkk-shield-icon {
    font-size: 24px;
    line-height: 1;
}

.ddkk-verify-title {
    color: rgba(0, 0, 0, 0.88);
    font-size: 21px;
    font-weight: 600;
    margin: 0;
}

/* 提示文字 */
.ddkk-loading-text {
    color: rgba(0, 0, 0, 0.65);
    font-size: 15px;
    margin: 8px 0;
}

.ddkk-loading-text-en {
    color: rgba(0, 0, 0, 0.45);
    font-size: 13px;
    margin: 8px 0 16px;
}

/* Cloudflare 图标 */
.ddkk-cloudflare-icon {
    text-align: center;
    margin: 10px 0 20px 0;
}

.ddkk-cloudflare-icon svg {
    width: 135px !important;
    height: 61px !important;
    display: inline-block !important;
}

/* 检查项滚动容器（始终只显示2行） */
.ddkk-check-list-container {
    height: 60px;
    margin: 16px 0;
    padding: 12px;
    background: #fafafa;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
}

.ddkk-check-list {
    height: 100%;
    overflow: hidden;
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ddkk-check-item {
    padding: 4px 0;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ddkk-check-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* 开始验证按钮 */
.ddkk-start-verify-btn-container {
    margin: 20px 0;
}

.ddkk-start-verify-btn {
    padding: 10px 32px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: #1677ff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.ddkk-start-verify-btn:hover {
    background: #0958d9;
}

/* 图片容器（150x150） */
.ddkk-image-container {
    margin: 20px 0;
    text-align: center;
}

.ddkk-verify-image {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* 验证内容区域（滚动完毕后自动显示） */
.ddkk-verify-content {
    margin-top: 10px;
}

/* 二维码容器 */
.ddkk-qr-code-container {
    margin: 10px 0;
    display: inline-block;
}

.ddkk-qr-code {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
}

/* 验证说明 */
.ddkk-verify-instruction {
    margin: 10px 0;
    color: rgba(0, 0, 0, 0.88);
    font-size: 20px;
    line-height: 1.8;
    font-weight: 500;
}

/* 输入容器（无标题） */
.ddkk-input-container {
    margin: 10px 0;
    text-align: center;
}

.ddkk-captcha-input {
    width: 100%;
    color: rgba(0, 0, 0, 0.88);
    font-size: 17px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 8px 12px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
    text-align: center;
}

.ddkk-captcha-input:focus {
    border-color: #1677ff;
}

/* 淡入动画 */
.ddkk-fade-in {
    animation: ddkk-fade-in 0.5s ease-in-out;
}

@keyframes ddkk-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 检查项滚动区域 */
.ddkk-check-scroll {
    min-height: 40px;
    line-height: 20px;
    margin: 8px 0;
}

/* 移动端样式 */
@media screen and (max-width: 768px) {
    /* 安全验证标题 - 手机上17px */
    .ddkk-verify-title {
        font-size: 17px !important;
    }
    
    /* 无法确认您是真人访问，请微信扫码验证 - 手机上17px */
    .ddkk-check-scroll {
        font-size: 17px !important;
    }
    
    #ddkkCheckScroll {
        font-size: 17px !important;
    }

    .ddkk-verify-container {
        padding: 15px;
    }
}
