/**
 * HiTemp 注册弹窗样式
 */

/* 协议勾选 */
#register-modal .agreement-check {
    margin-bottom: 20px;
    font-size: 13px;
}

#register-modal .agreement-check label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    color: #6b7280;
}

#register-modal .agreement-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #ff5722;
    cursor: pointer;
    flex-shrink: 0;
}

#register-modal .agreement-check .agreement-link {
    color: #ff5722;
    text-decoration: none;
}

#register-modal .agreement-check .agreement-link:hover {
    text-decoration: underline;
}

/* 用户协议弹窗 */
.agreement-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.agreement-modal.show {
    opacity: 1;
    visibility: visible;
}

.agreement-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.agreement-modal.show .agreement-modal-content {
    transform: scale(1);
}

.agreement-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e7eb;
}

.agreement-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

.agreement-modal-close {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.agreement-modal-close svg {
    width: 16px;
    height: 16px;
}

.agreement-modal-close:hover {
    background: #ff5722;
    border-color: #ff5722;
    color: #fff;
    transform: scale(1.05);
}

.agreement-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    font-size: 14px;
    line-height: 1.8;
    color: #4b5563;
}

.agreement-modal-footer {
    padding: 15px 25px 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.agreement-modal-btn {
    padding: 12px 40px;
    background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.agreement-modal-btn:hover {
    background: linear-gradient(135deg, #e64a19 0%, #ff5722 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

