/**
 * Custom styles for WooCommerce My Account Page
 * COCIMUNDO Theme - Simplified Version
 */

/* ========================================
   MY ACCOUNT PAGE CUSTOM STYLES
   ======================================== */

/* Hide default theme page title */
.page-template-default.page.page-id-9 .entry-header .entry-title {
    display: none !important;
}

/* Alternative rule if the above doesn't work */
body.woocommerce-account .entry-title {
    display: none !important;
}

/* Navigation Active State */
.woocommerce-MyAccount-navigation-link.is-active a {
    background-color: #fef3c7 !important;
    color: #d97706 !important;
    font-weight: 600;
    border-left: 4px solid #d97706 !important;
}

/* Form Inputs Styling */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    outline: none;
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
}

/* Form Labels */
.woocommerce form .form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

/* Buttons */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    background-color: #eab308 !important;
    color: white !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
    background-color: #ca8a04 !important;
}

/* Messages & Alerts */
.woocommerce-message,
.woocommerce-info {
    background-color: #dbeafe;
    border-left: 4px solid #3b82f6;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    color: #1e40af;
}

.woocommerce-error,
.woocommerce-error li {
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    color: #991b1b;
    list-style: none;
}

/* Remove default WooCommerce styles */
.woocommerce-MyAccount-content {
    padding: 0;
}

/* Make sure tables are responsive */
.woocommerce-MyAccount-content table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

@media (min-width: 768px) {
    .woocommerce-MyAccount-content table {
        display: table;
    }
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .woocommerce-MyAccount-navigation {
        margin-bottom: 1.5rem;
    }
}

/* Prevent layout breaks */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}
