/*
Theme Name: 	Deepvision Child
Theme URI: 		https://deepvision.theiatest.co.nz/
Author: 		Theia
Author URI: 	https://theia.co.nz/
Description:	Child theme of Noetech for <a href="https://theia.co.nz/">Theia</a>.
Template:		neotech
Version: 		1.0.0
-------------------------------------------------------------- */

.elementor-element-07355c2 > .e-con-inner,
.elementor-element-666d717 > .e-con-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}


.elementor-element-1e10069,
.elementor-element-2a91646 {
    flex: 0 0 auto !important;
    min-width: 180px !important;
}


.elementor-element-1ac049e,
.elementor-element-c26087a {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: visible !important;
}


.elementor-element-4314894,
.elementor-element-589880f {
    flex: 0 0 auto !important;
    min-width: 300px !important;
}


#menu-1-705b70d,
#menu-1-e1fd8fd {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#menu-1-705b70d .menu-item,
#menu-1-e1fd8fd .menu-item {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

#menu-1-705b70d .menu-item > a,
#menu-1-e1fd8fd .menu-item > a {
    font-size: 16px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    white-space: nowrap !important;
    display: inline-block !important;
}


.elementor-element-705b70d,
.elementor-element-e1fd8fd {
    display: flex !important;
    align-items: center !important;
}

.elementor-nav-menu-wrapper,
.main-navigation,
.primary-navigation {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}


#menu-1-705b70d .menu-item > a,
#menu-1-e1fd8fd .menu-item > a {
    font-size: 16px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
}


.elementor-element-a8ce489,
.elementor-element-fe67b08 {
    font-size: 16px !important;
}

.elementor-element-a8ce489 .elementor-icon-box-description,
.elementor-element-fe67b08 .elementor-icon-box-description {
    font-size: 16px !important;
}

.elementor-element-331665a .elementor-button {
    font-size: 16px !important;
    padding: 8px 15px !important;
}


.elementor-element-4314894,
.elementor-element-589880f {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}


.elementor-element-3f704de .woocommerce-breadcrumb {
	display: none;
}




/* ============================================
   PMS Form - Slim Modern Style
   针对实际HTML结构优化
   ============================================ */

/* 主表单容器 */
#pms_register-form.pms-form,
#pms_login-form.pms-form,
#pms_recover-password-form.pms-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 移除默认列表样式 */
.pms-form-fields-wrapper {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 账户信息区块 */
.pms-account-section-wrapper {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 每个字段 li */
.pms-field {
    list-style: none;
    margin-bottom: 24px;
    position: relative;
}

/* 标签样式 */
.pms-field label,
.pms-subscription-plan-auto-renew label,
#pms-paygates-inner label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #2c3e50;
    letter-spacing: 0.2px;
}

/* 必填星号 */
.pms-field label:after {
    content: '';
}

/* 检测标签中是否有 * 号 */
.pms-field label {
    position: relative;
}

/* 所有文本输入框 */
.pms-field input[type="text"],
.pms-field input[type="email"],
.pms-field input[type="password"],
.pms-field input[type="tel"],
.pms-field input[type="number"] {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    color: #2c3e50;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    -webkit-appearance: none;
    font-family: inherit;
}

/* 输入框焦点状态 */
.pms-field input[type="text"]:focus,
.pms-field input[type="email"]:focus,
.pms-field input[type="password"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    background-color: #ffffff;
}

/* 输入框悬停 */
.pms-field input[type="text"]:hover,
.pms-field input[type="email"]:hover,
.pms-field input[type="password"]:hover {
    border-color: #b8c5d0;
}

/* 输入框占位符 */
.pms-field input::placeholder {
    color: #95a5a6;
    opacity: 1;
}

/* ============================================
   订阅计划区域
   ============================================ */

.pms-field-subscriptions {
    margin-bottom: 30px;
}

/* 单个订阅计划 */
.pms-subscription-plan {
    padding: 24px;
    border: 2px solid #e8ecef;
    border-radius: 10px;
    background: #f8f9fa;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

/* 隐藏的订阅计划保持简洁显示 */
.pms-subscription-plan.pms-hidden {
    border: none;
    background: transparent;
    padding: 0;
    margin-bottom: 16px;
}

.pms-subscription-plan.pms-hidden label {
    margin-bottom: 0;
}

/* 订阅计划内的label */
.pms-subscription-plan > label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 12px;
}

/* 计划名称 */
.pms-subscription-plan-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    flex-shrink: 0;
}

/* 价格显示 */
.pms-subscription-plan-price {
    font-size: 16px;
    color: #3498db;
    font-weight: 600;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pms-subscription-plan-price-value {
    font-size: 24px;
    font-weight: 700;
}

.pms-subscription-plan-currency {
    font-size: 18px;
}

.pms-subscription-plan-duration {
    font-size: 14px;
    color: #7f8c8d;
}

.pms-divider {
    color: #95a5a6;
}

/* 计划描述 */
.pms-subscription-plan-description {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-top: 8px;
}

/* 自动续订选项 */
.pms-subscription-plan-auto-renew {
    margin-bottom: 24px;
    padding: 16px;
    background: #f0f7ff;
    border: 1px solid #d6e9ff;
    border-radius: 8px;
}

.pms-subscription-plan-auto-renew label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
    font-size: 14px;
    color: #2c3e50;
}

.pms-subscription-plan-auto-renew input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

/* ============================================
   支付网关选择
   ============================================ */

#pms-paygates-wrapper {
    margin-top: 24px;
    margin-bottom: 28px;
}

#pms-paygates-wrapper h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
    margin-top: 0;
}

#pms-paygates-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 每个支付选项 */
#pms-paygates-inner label {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    margin-bottom: 0;
}

#pms-paygates-inner label:hover {
    border-color: #3498db;
    background: #f8fbfe;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

/* 选中的支付方式 */
#pms-paygates-inner input[type="radio"]:checked + .pms-paygate-name {
    font-weight: 600;
}

#pms-paygates-inner label:has(input[type="radio"]:checked) {
    border-color: #3498db;
    background: #f0f7ff;
    box-shadow: 0 3px 12px rgba(52, 152, 219, 0.15);
}

/* 单选按钮 */
#pms-paygates-inner input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #3498db;
}

/* 支付网关名称 */
.pms-paygate-name {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 500;
}

/* 支付网关不可用提示 */
#pms-gateways-not-available {
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    color: #856404;
    font-size: 14px;
}

/* PayPal连接提示 */
#pms-paygate-extra-fields-paypal_connect__placeholder {
    padding: 16px;
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
    color: #e65100;
    font-size: 14px;
    line-height: 1.6;
}

#pms-paygate-extra-fields-paypal_connect__placeholder a {
    color: #e65100;
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================
   提交按钮
   ============================================ */

.pms-form-submit,
input[name="pms_register"],
input[name="pms_login"] {
    width: 100%;
    padding: 15px 28px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    margin-top: 8px;
}

.pms-form-submit:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
}

.pms-form-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

/* 加载状态 */
#pms-submit-button-loading-placeholder-text {
    display: inline-block;
    padding: 12px;
    background: #e3f2fd;
    border-radius: 6px;
    color: #1976d2;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    text-align: center;
}

/* ============================================
   错误和提示信息
   ============================================ */

.pms-field-errors,
.pms-errors {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.5;
}

.pms-success {
    padding: 16px 20px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
    border-radius: 8px;
    color: #155724;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
}

.pms-error,
.pms-alert {
    padding: 16px 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-left: 4px solid #dc3545;
    border-radius: 8px;
    color: #721c24;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
}

.pms-warning {
    padding: 16px 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    margin-bottom: 24px;
    font-size: 14px;
}

/* ============================================
   隐藏的input
   ============================================ */

input[type="hidden"] {
    display: none;
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 768px) {
    #pms_register-form.pms-form,
    #pms_login-form.pms-form {
        padding: 30px 24px;
        margin: 20px 16px;
        border-radius: 10px;
    }
    
    .pms-field {
        margin-bottom: 20px;
    }
    
    .pms-subscription-plan-name {
        font-size: 16px;
    }
    
    .pms-subscription-plan-price-value {
        font-size: 20px;
    }
    
    #pms-paygates-inner label {
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    #pms_register-form.pms-form {
        padding: 24px 16px;
        margin: 16px 12px;
        border-radius: 8px;
    }
    
    .pms-field label {
        font-size: 13px;
    }
    
    .pms-field input[type="text"],
    .pms-field input[type="email"],
    .pms-field input[type="password"] {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .pms-form-submit {
        padding: 13px 24px;
        font-size: 15px;
    }
    
    .pms-subscription-plan {
        padding: 16px;
    }
    
    .pms-subscription-plan > label {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   辅助样式
   ============================================ */

/* 文章容器 */
.entry-content .pms-form {
    margin-top: 0;
}

/* 链接 */
.pms-form a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.pms-form a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 禁用状态 */
.pms-field input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: #e0e0e0;
}

/* 焦点可见性(无障碍) */
.pms-form *:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* ============================================
   额外的支付网关字段
   ============================================ */

.pms-paygate-extra-fields {
    list-style: none;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8ecef;
}

.pms-field-section {
    margin-bottom: 20px;
}

/* ============================================
   表单底部链接
   ============================================ */

.pms-form-bottom {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8ecef;
    text-align: center;
    font-size: 14px;
    color: #7f8c8d;
}

.pms-form-bottom a {
    color: #3498db;
    font-weight: 500;
}
