/* Time2Guide WooCommerce Form Fixes - Reset Password, Lost Password, Login & Register */

.woocommerce form.lost_reset_password,
.woocommerce form.reset_password,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-ResetPassword,
.woocommerce-form-login,
.woocommerce-form-register {
    max-width: 480px !important;
    margin: 30px auto !important;
    padding: 32px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
}

/* Force all form rows (first, last, wide) to stack full-width vertically */
.woocommerce form .form-row,
.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce form .form-row-wide,
.woocommerce-ResetPassword .form-row,
.woocommerce-ResetPassword .form-row-first,
.woocommerce-ResetPassword .form-row-last,
.woocommerce-form-ResetPassword .form-row,
.woocommerce-form-ResetPassword .form-row-first,
.woocommerce-form-ResetPassword .form-row-last {
    width: 100% !important;
    float: none !important;
    display: block !important;
    clear: both !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 20px !important;
}

/* Form Labels - Clean top alignment */
.woocommerce form .form-row label,
.woocommerce-ResetPassword label,
.woocommerce-form-ResetPassword label {
    display: block !important;
    width: 100% !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    font-size: 14px !important;
    text-align: left !important;
    float: none !important;
}

/* Input Containers & Wrappers */
.woocommerce form .form-row .password-input,
.woocommerce-ResetPassword .password-input,
.woocommerce-form-ResetPassword .password-input {
    display: block !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Form Inputs styling */
.woocommerce form .form-row input.input-text,
.woocommerce-ResetPassword input.input-text,
.woocommerce-form-ResetPassword input.input-text,
.woocommerce form .form-row .password-input input {
    width: 100% !important;
    height: 48px !important;
    padding: 10px 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    background-color: #f8fafc !important;
    color: #0f172a !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce-ResetPassword input.input-text:focus,
.woocommerce-form-ResetPassword input.input-text:focus {
    border-color: #0057FF !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(0, 87, 255, 0.12) !important;
}

/* Eye / Show Password Toggle Icon Alignment */
.woocommerce form .form-row .show-password-input,
.woocommerce-ResetPassword .show-password-input,
.woocommerce-form-ResetPassword .show-password-input {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    color: #64748b !important;
    z-index: 5 !important;
}

.woocommerce form .form-row .show-password-input::after,
.woocommerce-ResetPassword .show-password-input::after {
    font-size: 16px !important;
}

/* Submit Buttons */
.woocommerce form .form-row button.button,
.woocommerce form button.button,
.woocommerce-ResetPassword button.button,
.woocommerce-form-ResetPassword button.button {
    width: 100% !important;
    height: 50px !important;
    background-color: #1A2B49 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-top: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce form .form-row button.button:hover,
.woocommerce form button.button:hover,
.woocommerce-ResetPassword button.button:hover {
    background-color: #FF002B !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(255, 0, 43, 0.25) !important;
}

/* ─── Hide WooCommerce Result Count & Ordering Bar ─── */
.woocommerce-result-count,
.woocommerce-ordering,
nav.woocommerce-ordering {
    display: none !important;
}

/* ─── HIDE PHYSICAL SHIPPING & FREE SHIPPING FOR TOURS ON CHECKOUT ─── */
.woocommerce-shipping-fields,
#shipping_method,
.shipping-calculator-button,
.shipping-calculator-form,
.wc-shipping-destination,
tr.shipping,
th.shipping,
td.shipping,
.woocommerce-checkout #shipping_method,
.woocommerce-checkout .shipping,
.shipping-options,
.shipping-title,
.woocommerce-checkout .woocommerce-shipping-wrapper {
    display: none !important;
}

/* ─── WooCommerce Checkout Order Review Table & Action Buttons ─── */
.woocommerce-checkout-review-order-table {
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 14px 16px !important;
    vertical-align: middle !important;
    border-color: #f1f5f9 !important;
}

.t2g-order-item-title-wrap {
    font-weight: 700;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.4;
}

.t2g-cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.t2g-cart-item-actions button,
.t2g-remove-item-trigger,
.t2g-quick-edit-trigger {
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-decoration: none !important;
}

.t2g-remove-item-trigger {
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3 !important;
}

.t2g-remove-item-trigger:hover {
    background: #e11d48 !important;
    color: #ffffff !important;
    border-color: #e11d48 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.t2g-quick-edit-trigger {
    background: #eff6ff !important;
    color: #0057FF !important;
    border: 1px solid #bfdbfe !important;
}

.t2g-quick-edit-trigger:hover {
    background: #0057FF !important;
    color: #ffffff !important;
    border-color: #0057FF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 87, 255, 0.25);
}

.woocommerce-checkout-review-order-table dl.variation {
    margin: 6px 0 0 0 !important;
    font-size: 12.5px !important;
    color: #64748b !important;
}

.woocommerce-checkout-review-order-table dl.variation dt {
    font-weight: 600 !important;
    color: #475569 !important;
}

.woocommerce-checkout-review-order-table dl.variation dd {
    margin-bottom: 4px !important;
    color: #0f172a !important;
    font-weight: 600 !important;
}

