/* PrizeCraft My Account Page Customization */

/* Remove Dashboard and Downloads sections */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--downloads {
    display: none !important;
}
body.woocommerce-account .woocommerce nav .is-active a {
    color: #ffffff !important;
}
/* Reset any conflicting styles */
.woocommerce-MyAccount-navigation ul li a {
    box-shadow: none;
    text-shadow: none;
}

/* PrizeCraft Blue Color: #3875F1 */
:root {
    --prizecraft-blue: #3875F1;
}

/* My Account Navigation Styling */
.woocommerce-MyAccount-navigation {
    margin-bottom: 30px;
    width: 100%;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
    padding: 0;
    width: 100%;
    display: block;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    background-color: #f5f5f5;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    min-height: 50px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Icons for menu items */
.woocommerce-MyAccount-navigation ul li a::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* Orders icon */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a::before {
    content: '\f07a';
    font-family: 'dashicons';
    font-size: 20px;
    line-height: 1;
    width: auto;
    height: auto;
}

/* Addresses icon */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: '\f230';
    font-family: 'dashicons';
    font-size: 20px;
    line-height: 1;
    width: auto;
    height: auto;
}

/* Payment methods icon */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--payment-methods a::before {
    content: '\f524';
    font-family: 'dashicons';
    font-size: 20px;
    line-height: 1;
    width: auto;
    height: auto;
}

/* Account details icon */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: '\f110';
    font-family: 'dashicons';
    font-size: 20px;
    line-height: 1;
    width: auto;
    height: auto;
}

/* Logout icon */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: '\f329';
    font-family: 'dashicons';
    font-size: 20px;
    line-height: 1;
    width: auto;
    height: auto;
}

/* Hover effect with PrizeCraft blue */
.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #3875F1;
    color: #fff !important;
    border-color: #3875F1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(56, 117, 241, 0.3);
}

.woocommerce-MyAccount-navigation ul li a:hover::before {
    color: #fff;
}

/* Active menu item */
.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #3875F1;
    color: #fff !important;
    border-color: #3875F1;
}

.woocommerce-MyAccount-navigation ul li.is-active a::before {
    color: #fff;
}

/* Ensure icons have proper color */
.woocommerce-MyAccount-navigation ul li a::before {
    color: #666;
    vertical-align: middle;
}

/* My Account Content Area */
.woocommerce-MyAccount-content {
    background: #fff;
    padding: 0px 30px 30px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Buttons in My Account */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button.button,
.woocommerce-MyAccount-content input.button {
    background-color: #3875F1;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button.button:hover,
.woocommerce-MyAccount-content input.button:hover {
    background-color: #2d5fc7;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(56, 117, 241, 0.3);
}

/* Tables in My Account */
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.woocommerce-MyAccount-content table th {
    background-color: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #3875F1;
    color: #333;
}

.woocommerce-MyAccount-content table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.woocommerce-MyAccount-content table tr:hover {
    background-color: #f8f9fa;
}

/* Links in My Account */
.woocommerce-MyAccount-content a {
    color: #3875F1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-MyAccount-content a:hover {
    color: #2d5fc7;
    text-decoration: underline;
}


body#neve_body.woocommerce-lost-password .woocommerce {
    display: block;
}
.woocommerce .woocommerce-info, .woocommerce-page .woocommerce-info {
    padding-left: 52px;
}

/* Form styling */
.woocommerce-MyAccount-content form input[type="text"],
.woocommerce-MyAccount-content form input[type="email"],
.woocommerce-MyAccount-content form input[type="password"],
.woocommerce-MyAccount-content form input[type="tel"],
.woocommerce-MyAccount-content form textarea,
.woocommerce-MyAccount-content form select {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px;
    transition: border-color 0.3s ease;
}

.woocommerce-MyAccount-content form input[type="text"]:focus,
.woocommerce-MyAccount-content form input[type="email"]:focus,
.woocommerce-MyAccount-content form input[type="password"]:focus,
.woocommerce-MyAccount-content form input[type="tel"]:focus,
.woocommerce-MyAccount-content form textarea:focus,
.woocommerce-MyAccount-content form select:focus {
    border-color: #3875F1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 117, 241, 0.1);
}

/* Ensure proper layout structure */
.woocommerce-account .woocommerce {
    display: flex;
    flex-direction: column;
    /* gap: 30px; */
}

@media (min-width: 769px) {
    .woocommerce-account .woocommerce {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .woocommerce-MyAccount-navigation {
        width: 250px;
        flex-shrink: 0;
    }
    
    .woocommerce-MyAccount-content {
        flex: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }
    
    .woocommerce-MyAccount-navigation {
        width: 100%;
    }
    
    .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }
    
    .woocommerce-MyAccount-navigation ul li {
        width: 100%;
    }
    
    .woocommerce-MyAccount-navigation ul li a {
        width: 100%;
    }
    
    .woocommerce-MyAccount-content {
        padding: 20px;
        width: 100%;
    }
    
    .woocommerce-MyAccount-content table {
        font-size: 14px;
    }
    
    .woocommerce-MyAccount-content table th,
    .woocommerce-MyAccount-content table td {
        padding: 8px;
    }
}

/* Additional PrizeCraft Branding */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    color: #333;
    margin-top: 0;
}

.woocommerce-MyAccount-content .woocommerce-message {
    background-color: #e8f4f8;
    border-left: 4px solid #3875F1;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.woocommerce-MyAccount-content .woocommerce-error {
    background-color: #fee;
    border-left: 4px solid #dc3232;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.woocommerce-MyAccount-content .woocommerce-info {
    background-color: #e8f4f8;
    border-left: 4px solid #3875F1;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

