/*
Theme Name: TNNT Software
Theme URI: https://tnnt.vn
Author: TNNT Team
Author URI: https://tnnt.vn
Description: TNNT Software Theme - E-commerce Edition. Optimized for WooCommerce with a premium design for selling software, digital services, and tech products. Includes professionally customized Shop, Checkout, and Account pages. 100% compatible with Elementor.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tnnt-software
Tags: technology, business, software, woocommerce, e-commerce, responsive, seo-friendly
*/

/* ==========================================================================
   Normalize & Reset
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ==========================================================================
   WordPress Core Alignment
   ========================================================================== */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* ==========================================================================
   Responsive Images
   ========================================================================== */

img {
    height: auto;
    max-width: 100%;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   Clearfix
   ========================================================================== */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   Header & Footer Redesign
   ========================================================================== */

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.tnnt-sticky-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.tnnt-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Branding */
.site-branding .site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-branding .site-title a {
    text-decoration: none;
    color: #0b1120;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-navigation ul li a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.main-navigation ul li a:hover {
    color: #007bff;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
}

/* Utility Icons */
.header-utility {
    display: flex;
    align-items: center;
    gap: 20px;
}

.utility-icon {
    color: #4b5563;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.utility-icon:hover {
    color: #007bff;
}

.cart-icon-wrapper {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.site-footer {
    background: #0b1120; /* Dark Navy */
    color: #9ca3af;
    padding: 20px 0;
    margin-top: 40px;
}

.tnnt-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

/* Footer Form */
.tnnt-newsletter-form {
    display: flex;
    margin-top: 15px;
}

.tnnt-newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.tnnt-newsletter-form button {
    padding: 0 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Footer Bottom */
.site-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.payment-icons span {
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 5px;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 2px;
        background: #333;
        margin: 5px 0;
    }

    .main-navigation ul {
        display: none; /* Need JS to toggle */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .main-navigation.toggled ul {
        display: flex;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .site-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* ==========================================================================
   Single Product Customization
   ========================================================================== */

/* 1. Layout: Strict 2-Column Grid */
.single-product .product {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.single-product .woocommerce-product-gallery {
    width: 50%;
    float: none !important; /* Override WOODefault */
    margin: 0 !important;
}

.single-product .summary.entry-summary {
    width: 46%;
    float: none !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .single-product .product {
        flex-direction: column;
    }
    .single-product .woocommerce-product-gallery,
    .single-product .summary.entry-summary {
        width: 100%;
    }
}

/* 2. Typography & Headers */
.single-product .product_title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 3. Price Styling */
.single-product p.price {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.single-product p.price del {
    color: #999;
    font-size: 20px;
    font-weight: normal;
    opacity: 0.8;
}

.single-product p.price ins {
    color: #E54D2E; /* Brand Orange-Red */
    font-weight: 700;
    text-decoration: none;
}

/* 4. Short Description */
.single-product .woocommerce-product-details__short-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}


/* 9. Variation Swatches (Buttons) */
.variations_form table.variations {
    display: block;
    width: 100%;
}

.variations_form table.variations tbody,
.variations_form table.variations tr,
.variations_form table.variations td {
    display: block;
    width: 100%;
}

.variations_form table.variations td.label {
    padding-bottom: 5px;
    font-weight: 700;
    color: #333;
}

.tnnt-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tnnt-swatch-label {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.tnnt-swatch-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tnnt-swatch-text {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 40px;
    text-align: center;
}

/* Hover State */
.tnnt-swatch-label:hover .tnnt-swatch-text {
    border-color: #0071e3;
    color: #0071e3;
}

/* Selected State */
.tnnt-swatch-label.selected .tnnt-swatch-text,
.tnnt-swatch-label input[type="radio"]:checked + .tnnt-swatch-text {
    border-color: #0071e3;
    background-color: #f0f7ff;
    color: #0071e3;
    font-weight: 700;
    box-shadow: 0 0 0 1px #0071e3;
}

/* Reset / Clear link */
.reset_variations {
    display: inline-block;
    margin-top: 5px;
    font-size: 13px;
    color: #ef4444;
    text-decoration: none;
}


/* 5. Add to Cart Section Wrapper - Strict Inline */
.single-product form.cart {
    display: flex; /* Flexbox */
    flex-wrap: nowrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-top: 10px;
}

/* Quantity Adjustments for Inline - Pill Shape */
.single-product .quantity {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    background-color: #f7f7f7; /* Light grey background */
    border-radius: 4px; /* Rounded pillish */
    padding: 2px;
}

.single-product .quantity input.qty {
    width: 40px;
    height: 44px; /* Height of the container */
    line-height: 44px;
    border: none !important;
    text-align: center;
    font-weight: 600;
    color: #333;
    background: transparent !important;
    padding: 0;
    appearance: textfield;
    margin: 0;
    box-shadow: none !important;
}

/* +/- Buttons */
.qty-btn {
    background: transparent;
    border: none;
    color: #333;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.qty-btn:hover {
    color: #0071e3;
}

/* Chrome, Safari, Edge, Opera */
.single-product .quantity input.qty::-webkit-outer-spin-button,
.single-product .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 7. Add to Cart Button */
.single-product .single_add_to_cart_button {
    background-color: #0071e3 !important; /* Premium Blue */
    color: white !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 0 40px !important;
    height: 48px !important; /* Fixed height matching quantity */
    line-height: normal !important; /* Reset line-height to let Flexbox handle it */
    border-radius: 6px !important;
    text-transform: none !important;
    flex-grow: 1;
    max-width: 400px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: none !important;
    /* Flexbox Centering */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important; /* Ensure no top margin pushing it down */
}

.single-product .single_add_to_cart_button:hover {
    background-color: #0077ed !important;
    transform: translateY(0) !important;
    box-shadow: none !important;
}

/* 3. Price Styling */
/* 3. Price Styling */
.single-product p.price {
    font-size: 26px;
    font-weight: 700;
    color: #0071e3 !important; /* Force Blue */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}

/* Force inner text (currency symbols, amounts) to inherit or be blue */
.single-product p.price > span, 
.single-product p.price > bdi,
.single-product p.price > .woocommerce-Price-amount {
    color: #0071e3 !important;
}

.single-product p.price del,
.single-product p.price del span,
.single-product p.price del bdi {
    color: #a0a0a0 !important; /* Grey for Old Price */
    font-size: 18px;
    font-weight: 500;
    opacity: 1;
    display: inline-block;
}

.single-product p.price ins,
.single-product p.price ins span,
.single-product p.price ins bdi {
    color: #ff5500 !important; /* Orange for Sale Price - Overrides Blue */
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    display: inline-block;
}

/* 8. Meta (Category, Tags) */
.single-product .product_meta {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

.single-product .product_meta > span {
    display: block;
    margin-bottom: 5px;
}

.single-product .product_meta a {
    color: #666;
    text-decoration: none;
    margin-left: 5px;
}

.single-product .product_meta a:hover {
    color: #E54D2E;
}

/* 9. Tabs Cleanup */
.woocommerce-tabs {
    clear: both;
    margin-top: 60px;
}

.woocommerce-tabs ul.tabs {
    border-bottom: 1px solid #eee;
    padding: 0;
    margin: 0 0 30px;
}

.woocommerce-tabs ul.tabs li {
    background: none !important;
    border: none !important;
}

.woocommerce-tabs ul.tabs li a {
    padding: 10px 20px;
    font-weight: 600;
    color: #666;
    font-size: 16px;
}


.woocommerce-tabs ul.tabs li.active a {
    color: #333;
    border-bottom: 2px solid #333;
}


/* =========================================
   10. MODERN CART PAGE DESIGN
   ========================================= */

/* Layout Wrapper - Split Columns */
.woocommerce-cart .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

/* Left Column: Product Table */
.woocommerce-cart-form {
    flex: 1 1 600px; /* Grow, but shrink if needed, min width */
    width: 65%;
}

/* Right Column: Cart Totals */
.cart-collaterals {
    flex: 1 1 300px;
    width: 30%;
}

@media (max-width: 900px) {
    .woocommerce-cart-form,
    .cart-collaterals {
        width: 100%;
        flex: 1 1 100%;
    }
}

/* Table Styling - Minimalist */
.shop_table.cart {
    border: none !important;
    border-collapse: separate;
    border-spacing: 0 15px; /* Spacing between rows if we want card rows, or just 0 */
}

.shop_table.cart thead {
    background: #f4f5f7;
    font-size: 14px;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 0.5px;
}

.shop_table.cart thead th {
    padding: 15px;
    border: none;
    font-weight: 600;
}

.shop_table.cart tr.cart_item {
    border-bottom: 1px solid #eee;
}

.shop_table.cart td {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 10px;
    vertical-align: middle;
}

/* Images */
.shop_table.cart td.product-thumbnail img {
    width: 90px !important; /* Larger images */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Product Name */
.shop_table.cart td.product-name a {
    font-weight: 700;
    color: #333;
    font-size: 16px;
    text-decoration: none;
}
.shop_table.cart td.product-name a:hover {
    color: #0071e3;
}

/* Coupon Section */
.coupon {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
}

.coupon label {
    display: none !important; /* HIde "Coupon:" text label */
}

.coupon input#coupon_code {
    width: 200px !important;
    padding: 0 15px !important;
    height: 48px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important; /* Pill-ish */
    font-size: 14px;
    box-sizing: border-box;
}

.coupon button.button {
    background: #333 !important; /* Dark neutral for coupon */
    color: #fff !important;
    height: 48px !important;
    padding: 0 25px !important;
    border-radius: 6px !important;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.coupon button.button:hover {
    background: #555 !important;
}

/* Update Cart Button (Float Right usually, or hide? Keep it simple) */
.woocommerce-cart-form button[name="update_cart"] {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #ccc !important;
    height: 48px;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 600;
    margin-left: auto; /* Push to right if flex */
}

/* Actions Row */
td.actions {
    padding: 20px 0 !important;
    border: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Cart Totals - Card Style */
.cart-collaterals .cart_totals {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: sticky;
    top: 20px;
}

.cart-collaterals h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.cart-collaterals .shop_table {
    width: 100%;
    margin-bottom: 25px;
    border: none;
}

.cart-collaterals .shop_table th, 
.cart-collaterals .shop_table td {
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cart-collaterals .shop_table th {
    font-weight: 500;
    color: #666;
}

.cart-collaterals .shop_table tr.order-total th,
.cart-collaterals .shop_table tr.order-total td {
    border-bottom: none;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    padding-top: 20px;
}

.cart-collaterals .wc-proceed-to-checkout {
    display: block;
}

.cart-collaterals .checkout-button {
    display: block;
    width: 100%;
    background-color: #0071e3 !important; /* Primary Blue */
    color: #fff !important;
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(0,113,227,0.3);
}

.cart-collaterals .checkout-button:hover {
    background-color: #0062c1 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,113,227,0.4);
}

/* Remove Quantity Spinners on Cart too */
.woocommerce-cart .quantity input.qty {
    width: 40px; /* Consistent with single */
}

/* Hide Default Sidebar if present (Theme specific) */
.woocommerce-cart #secondary,
.woocommerce-cart .sidebar {
    display: none !important;
}


/* ==========================================================================
   Sticky Footer Fix (Final)
   ========================================================================== */
#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

/* ==========================================================================
   FORCE MY ACCOUNT & LOGIN STYLES (Moved from myaccount.css)
   ========================================================================== */
/* 1. Wrapper Layout */
.woocommerce-account .woocommerce,
.tnnt-my-account-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
}

/* 2. User Info Header */
.tnnt-account-header {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.tnnt-user-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    background: #ccc;
}
.tnnt-user-info h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}
.tnnt-user-info a.logout-link {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

/* 3. Navigation Sidebar */
.woocommerce-account .woocommerce-MyAccount-navigation,
.tnnt-my-account-navigation {
    flex: 0 0 250px !important;
    width: 250px !important;
    max-width: 250px !important;
    margin-right: 0 !important;
    float: none !important;
    background: #fff;
    border-right: 1px solid #eee;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 0 !important;
    border-bottom: 1px solid #f5f5f5;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 15px 17px !important;
    border-left: 3px solid transparent !important;
    color: #555 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    color: #0071e3 !important;
    background-color: #f9f9f9;
    border-left-color: #e1e1e1 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    color: #333 !important;
    font-weight: 700 !important;
    background-color: #f5f5f7;
    border-left-color: #333 !important;
    cursor: default;
}

/* 4. Content Area */
.woocommerce-account .woocommerce-MyAccount-content,
.tnnt-my-account-content {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0;
    padding-top: 5px;
    float: none !important;
}

/* 5. Login Form Redesign - COMPACT VERSION & CENTERED */
.woocommerce-account:not(.logged-in) .woocommerce {
    display: block !important;
    text-align: center;
}
#customer_login {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}
#customer_login .u-column1, 
#customer_login .u-column2 {
    flex: 1 1 350px;
    max-width: 400px; /* Reduced width */
    background: #fff;
    padding: 30px; /* Reduced internal spacing */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    text-align: left;
}
#customer_login .u-column1:only-child {
    margin: 0 auto;
}
.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
    width: 100%;
    margin-top: 10px;
    background: #0071e3 !important;
    color: #fff !important;
    height: 48px;
    border-radius: 6px;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .tnnt-my-account-navigation {
        width: 100% !important;
        max-width: 100% !important;
        border-right: none;
    }
}


