/**
 * Turnstile 验证模态框样式
 * 人机验证模态框的CSS样式
 */

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
}

.turnstile-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

#turnstile-continue {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#turnstile-continue:hover {
    background-color: #45a049;
}

#turnstile-continue:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* 评论区地理位置样式 */
.geo-location {
    color: #888;
    font-size: 0.95em;
    margin-left: 4px;
}