/********************************/
/* MY ACCOUNT PAGE STYLES
/********************************/

.account-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.denis-welcome-message {
    text-align: center;
    margin-bottom: 2rem;
    color: #FFA500;
}

.denis-welcome-message h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #FFA500;
}

/* Account Header */
.account-header {
    text-align: center;
}

.account-header .entry-title h1,
.account-header h1 {
    color: #ffffff;
    font-size: 2rem;
    margin: 0;
    padding: 0.5rem 0;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

.woocommerce-account .woocommerce-MyAccount-content{
    width: 65%;
}

/* Navigation Styles */
.woocommerce-account .woocommerce-MyAccount-navigation{
    float: left;
    width: 20%;
}
.woocommerce-MyAccount-navigation {
    background: var(--primary-blue);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    color: white;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 0.4rem;
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    margin-bottom: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    color: white;
    text-decoration: none;
    font-family: "Impact", "Arial Black", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
    display: block;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: rgba(255, 255, 255, 0.15);
    border-left: 4px solid #ff0000;
    padding-left: calc(1rem - 4px);
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 0.4rem;
    transition: all 0.3s ease;
    display: block;
}

/* Content Area */
.woocommerce-MyAccount-content {
    /*background: rgba(0, 0, 0, 0.5);*/
    padding: 2rem;
    padding-top: 0;
    border-radius: 5px;
    color: #fff;
    /*border: 1px solid rgba(255, 165, 0, 0.2);*/
}

.woocommerce-MyAccount-content a {
    color: #FFA500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-MyAccount-content a:hover {
    color: #FFFF00;
}
.woocommerce form .form-row label {
    color: #FFFF00;
}

/* Welcome Message */
.denis-welcome-message {
    background: rgba(65, 105, 225, 0.1);
    border-radius: 5px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.denis-welcome-message h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #FFA500;
    text-transform: uppercase;
}

.denis-welcome-message p {
    color: #FFA500;
    font-size: 1.1rem;
}

.account-mobile-menu-toggle{
    display: none;
}


/* Responsive Design */
@media only screen and (max-width: 768px) {


    .woocommerce-account .woocommerce-MyAccount-content{
        width: 90%;
    }

    .woocommerce-account .woocommerce-MyAccount-content form{
        width: 85%;
    }

    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content {
        width: 100%;
        float: none;
        margin-bottom: 2rem;
    }
    
    /* Mobile Menu Toggle Button */
    .account-mobile-menu-toggle {
        display: block;
        background: var(--primary-blue);
        color: white;
        padding: 1rem;
        margin: 0 auto;
        text-align: center;
        border: none;
        border-radius: 8px;
        font-family: "Impact", "Arial Black", sans-serif;
        font-size: 1.1rem;
        text-transform: uppercase;
        cursor: pointer;
        margin-bottom: 1rem;
        transition: background 0.3s ease;
        position: relative;
        z-index: 0;
    }

    .account-mobile-menu-toggle:hover {
        background: rgba(65, 105, 225, 0.8);
    }
    
    .woocommerce-MyAccount-navigation {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary-blue);
        z-index: 1000;
        padding: 80px 20px 20px;
        overflow-y: auto;
        transition: left 0.3s ease-out;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation{
        width: 50%;
    }
    
    .woocommerce-MyAccount-navigation.account-menu-active {
        left: 0;
        animation: none;
    }
    
    .woocommerce-MyAccount-navigation ul {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .woocommerce-MyAccount-navigation ul li {
        margin-bottom: 1rem;
    }
    
    .woocommerce-MyAccount-navigation ul li a {
        padding: 1rem;
        text-align: center;
        font-size: 1.2rem;
        display: block;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }
    
    .woocommerce-MyAccount-navigation ul li a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: none;
    }
    
    .account-header .entry-title {
        font-size: 1.8rem;
        color: #fff;
    }

    /* Add overlay styles */
    .account-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease-out;
    }

    .account-menu-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* Replace fadeIn animation with slideIn */
@keyframes slideIn {
    from {
        left: -100%;
    }
    to {
        left: 0;
    }
}

/* Keep the body overflow hidden rule */
body.menu-open {
    overflow: hidden;
}

/* Form Elements Styles */
.woocommerce-MyAccount-content form {
    margin: 1rem 0;
}

.woocommerce-MyAccount-content .form-row {
    margin-bottom: 1.5rem;
}

.woocommerce-MyAccount-content label {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content textarea,
.woocommerce-MyAccount-content select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(65, 105, 225, 0.3);
    border-radius: 5px;
    background: rgba(14, 27, 77, 0.6);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-content input[type="text"]:focus,
.woocommerce-MyAccount-content input[type="email"]:focus,
.woocommerce-MyAccount-content input[type="password"]:focus,
.woocommerce-MyAccount-content input[type="tel"]:focus,
.woocommerce-MyAccount-content textarea:focus,
.woocommerce-MyAccount-content select:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

#wcpay_selected_currency select{
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(65, 105, 225, 0.3);
    border-radius: 5px;
    background: rgba(14, 27, 77, 0.6);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#wcpay_selected_currency select:focus{
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

/* Checkbox and Radio Styles */
.woocommerce-MyAccount-content input[type="checkbox"],
.woocommerce-MyAccount-content input[type="radio"] {
    margin-right: 0.5rem;
}

.woocommerce-MyAccount-content .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    color: #fff;
    cursor: pointer;
}

/* Required Field Indicator */
.woocommerce-MyAccount-content .required {
    color: #ff0000;
    text-decoration: none;
    font-weight: bold;
}

/* Form Buttons */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button[type="submit"] {
    background: #ff0000;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button[type="submit"]:hover {
    background: #cc0000;
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before{
    content:none;
}

/* Form Messages and Alerts */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    position: relative;
    font-family: "Impact", "Arial Black", sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: linear-gradient(135deg, #4169E1 0%, #0a1c3e 100%);
    color: #FFFFFF;
    border: 2px solid #FFA500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.woocommerce-error {
    border-left-color: #ff0000;
}

.woocommerce-message {
    border-left-color: #00ff00;
}

.woocommerce-info {
    border-color: #FFA500;
}

.woocommerce-info::after {
    content: "🏒";
    margin-right: 10px;
    font-size: 1.2em;
}

.woocommerce-info .woocommerce-Button.button,
.woocommerce-info .button {
    background: linear-gradient(135deg, #FFA500 0%, #FF4500 100%) !important;
    color: #FFFFFF !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 5px !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    margin: 0 !important;
    white-space: nowrap;
}

.woocommerce-info .woocommerce-Button.button:hover,
.woocommerce-info .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3) !important;
}

@media (max-width: 768px) {
    .woocommerce-error,
    .woocommerce-message,
    .woocommerce-info {
        padding: 1rem;
        text-align: center;
        justify-content: center;
    }

    .woocommerce-info .woocommerce-Button.button,
    .woocommerce-info .button {
        width: 100%;
        text-align: center;
    }
}

/* Table Styles */
.woocommerce-orders-table,
.woocommerce-table--order-details {
    margin: 2em auto !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    margin-top: 0 !important;
}

.woocommerce-orders-table thead th:first-child,
.woocommerce-table--order-details thead th:first-child {
    border-top-left-radius: 8px !important;
}

.woocommerce-orders-table thead th:last-child,
.woocommerce-table--order-details thead th:last-child {
    border-top-right-radius: 8px !important;
}

.woocommerce-orders-table tbody tr:last-child td:first-child,
.woocommerce-table--order-details tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px !important;
}

.woocommerce-orders-table tbody tr:last-child td:last-child,
.woocommerce-table--order-details tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px !important;
}

.woocommerce-orders-table thead th,
.woocommerce-table--order-details thead th {
    background-color: #4169E1 !important;
    color: #fff !important;
    padding: 15px 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    text-align: left !important;
}

.woocommerce-orders-table td,
.woocommerce-orders-table th[scope="row"],
.woocommerce-table--order-details td,
.woocommerce-table--order-details th {
    padding: 15px 20px !important;
    vertical-align: middle !important;
    color: #333 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Order number link */
.woocommerce-orders-table__cell-order-number a {
    color: var(--primary-blue) !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

.woocommerce-orders-table__cell-order-number a:hover {
    color: var(--gold) !important;
}

/* Actions cell styling */
.woocommerce-orders-table__cell-order-actions {
    min-width: 220px !important;
    text-align: right !important;
    display: flex !important;
    gap: 8px !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
}

/* Button styling */
.woocommerce a.button {
    display: inline-block !important;
    padding: 10px 20px !important;
    margin: 5px !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    border: none !important;
    font-family: "Impact", "Arial Black", sans-serif !important;
    min-width: 60px !important;
    text-align: center !important;
}

/* Pay button */
.woocommerce a.button.pay {
    background: linear-gradient(135deg, #FFA500, #FF4500) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3) !important;
}

.woocommerce a.button.pay:hover {
    background: linear-gradient(135deg, #FF4500, #FFA500) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4) !important;
}

/* View button */
.woocommerce a.button.view {
    background: linear-gradient(135deg, #4169E1, #3151b0) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.3) !important;
}

.woocommerce a.button.view:hover {
    background: linear-gradient(135deg, #3151b0, #4169E1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.4) !important;
}

/* Cancel button */
.woocommerce a.button.cancel {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3) !important;
}

.woocommerce a.button.cancel:hover {
    background: linear-gradient(135deg, #c82333, #dc3545) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4) !important;
}

@media screen and (max-width: 768px) {
    .woocommerce-orders-table__cell-order-actions {
        justify-content: center !important;
        padding: 15px !important;
        gap: 10px !important;
    }

    .woocommerce a.button {
        min-width: 80px !important;
        padding: 10px 15px !important;
        font-size: 14px !important;
        width: 30% !important;
    }
}

@media screen and (max-width: 480px) {
    .woocommerce-orders-table__cell-order-actions {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-end !important;
    }

    .woocommerce a.button {
        width: 30% !important;
        margin: 2px 0 !important;
    }
}

/********************************/
/* ORDER DETAILS STYLES
/********************************/


.custom-inscription-meta p {
    color: #000 !important;
}

.custom-inscription-text p {
    color: var(--gold) !important;
}

/* Order status header */
.woocommerce-MyAccount-content > p {
    background: #4169E1 !important;
    color: #fff !important;
    padding: 15px !important;
    border-radius: 8px !important;
    margin-bottom: 2em !important;
    font-weight: 600 !important;
    margin-top: 0;
}

.woocommerce-MyAccount-content mark {
    background: none !important;
    color: #FFA500 !important;
    font-weight: bold !important;
}

/* Section titles */
.woocommerce-order-details__title,
.woocommerce-column__title {
    color: #fff !important;
    font-size: 1.5em !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

/* Order details table */
.woocommerce-table--order-details {
    margin-bottom: 2em !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
}

.woocommerce-table--order-details thead th {
    background-color: #4169E1 !important;
    color: #fff !important;
    padding: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    text-align: left !important;
}

.woocommerce-table--order-details tbody td {
    padding: 15px !important;
    vertical-align: middle !important;
    color: #333 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Product link */
.woocommerce-table__product-name a {
    color: var(--primary-blue) !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

.woocommerce-table__product-name a:hover {
    color: var(--gold) !important;
}

/* Table footer */
.woocommerce-table--order-details tfoot {
    background: #f8f9fa !important;
}

.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
    padding: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.woocommerce-table--order-details tfoot tr:last-child {
    font-size: 1.1em !important;
    background: #edf2f7 !important;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    color: #2d3748 !important;
    font-weight: 700 !important;
}

.woocommerce td.product-name .wc-item-meta p {
    color: #000 !important;
}

/* Billing address section */
.woocommerce-customer-details {
    margin-top: 2em !important;
}

.woocommerce-customer-details address {
    background: #fff !important;
    padding: 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    color: #333 !important;
    line-height: 1.6 !important;
    border: none !important;
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
    margin: 10px 0 0 0 !important;
    padding-left: 25px !important;
    position: relative !important;
    color: #333 !important;
}

.woocommerce-customer-details--phone::before,
.woocommerce-customer-details--email::before {
    content: '📞' !important;
    position: absolute !important;
    left: 0 !important;
    margin-left: 0 !important;
}

.woocommerce-customer-details--email::before {
    content: '📧' !important;
}

/* Responsive styles */
@media screen and (max-width: 768px) {

    .woocommerce-orders-table td,
    .woocommerce-orders-table th[scope="row"],
    .woocommerce-table--order-details td,
    .woocommerce-table--order-details th {
        padding: 10px !important;
    }


    .woocommerce-table--order-details thead {
        display: table-header-group !important;
    }

    .woocommerce-table--order-details tr {
        display: table-row !important;
    }

    .woocommerce-table--order-details td,
    .woocommerce-table--order-details th {
        display: table-cell !important;
        text-align: left !important;
        padding: 10px !important;
        font-size: 14px !important;
    }

    .woocommerce-table--order-details td::before,
    .woocommerce-table--order-details th::before {
        display: none !important;
    }

    .woocommerce-customer-details address {
        padding: 15px !important;
    }

    .woocommerce-table__product-name img {
        width: 60px !important;
        margin-right: 10px !important;
        display: inline-block !important;
    }

    /* Adjust the order item product layout */
    .order-item-product {
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .order-item-thumbnail img {
        width: 50px !important;
        height: 50px !important;
    }
}

@media screen and (max-width: 480px) {
    .woocommerce-table--order-details td,
    .woocommerce-table--order-details th {
        padding: 8px !important;
        font-size: 13px !important;
    }

    .woocommerce-table--order-details thead th {
        font-size: 12px !important;
    }

    .order-item-thumbnail img {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Product image in order details */
.woocommerce-table__product-name img {
    width: 80px !important;
    height: auto !important;
    border-radius: 4px !important;
    margin-right: 15px !important;
    vertical-align: middle !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Product image and name layout in order details */
.order-item-product {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.order-item-thumbnail {
    flex-shrink: 0 !important;
}

.order-item-thumbnail img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    object-fit: cover !important;
}

.order-item-name {
    flex-grow: 1 !important;
}

@media screen and (max-width: 768px) {
    .order-item-product {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .order-item-thumbnail img {
        width: 60px !important;
        height: 60px !important;
    }
}

/* Addresses Styles */
.woocommerce-Addresses {
    display: flex !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
    flex-wrap: wrap !important;
}

.woocommerce-Address {
    flex: 1 !important;
    min-width: 300px !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
}

.woocommerce-Address-title {
    background: #4169E1 !important;
    padding: 15px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.woocommerce-Address-title h2 {
    color: #fff !important;
    font-size: 1.2em !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

.woocommerce-Address-title .edit {
    color: #FFA500 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.3s ease !important;
}

.woocommerce-Address-title .edit:hover {
    color: #FFFF00 !important;
}

.woocommerce-Address address {
    padding: 20px !important;
    color: #333 !important;
    line-height: 1.6 !important;
    font-style: normal !important;
    margin: 0 !important;
}

@media screen and (max-width: 768px) {
    .woocommerce-Addresses {
        gap: 1rem !important;
    }

    .woocommerce-Address {
        flex: 1 1 100% !important;
    }

    .woocommerce-Address-title {
        padding: 12px 15px !important;
    }

    .woocommerce-Address address {
        padding: 15px !important;
    }
}

/* Address Form Styles */
.woocommerce-address-fields {
    background: #fff !important;
    padding: 2rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    margin-top: 1rem !important;
}

.woocommerce-address-fields h2 {
    color: #333 !important;
    font-size: 1.5em !important;
    margin-bottom: 1.5rem !important;
}

.woocommerce-address-fields label {
    color: #333 !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.woocommerce-address-fields .required {
    color: #ff0000 !important;
    text-decoration: none !important;
    font-weight: normal !important;
}

.woocommerce-address-fields .form-row {
    margin-bottom: 1.5rem !important;
}

.woocommerce-address-fields input[type="text"],
.woocommerce-address-fields input[type="tel"],
.woocommerce-address-fields input[type="email"] {
    width: 100% !important;
    padding: 0.8rem 1rem !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.woocommerce-address-fields input[type="text"]:focus,
.woocommerce-address-fields input[type="tel"]:focus,
.woocommerce-address-fields input[type="email"]:focus {
    border-color: #4169E1 !important;
    box-shadow: 0 0 0 2px rgba(65, 105, 225, 0.1) !important;
    outline: none !important;
}

/* Select2 Styles for Address Forms */
.woocommerce-address-fields .select2-container--default .select2-selection--single {
    height: 45px !important;
    padding: 8px !important;
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
}

.woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333 !important;
    line-height: 28px !important;
}

.woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px !important;
}

/* Save Address Button */
.woocommerce-address-fields button[type="submit"] {
    background: #4169E1 !important;
    color: #fff !important;
    padding: 1rem 2rem !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    margin-top: 1rem !important;
}

.woocommerce-address-fields button[type="submit"]:hover {
    background: #3151b0 !important;
}

@media screen and (max-width: 768px) {
    .woocommerce-address-fields {
        padding: 1.5rem !important;
    }

    .woocommerce-address-fields .form-row {
        margin-bottom: 1rem !important;
    }
}

/* Account Edit Form Styles */
.woocommerce-EditAccountForm {
    background: #fff !important;
    padding: 2rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    margin-top: 1rem !important;
}

.woocommerce-EditAccountForm .form-row {
    margin-bottom: 1.5rem !important;
}

.woocommerce-EditAccountForm label {
    color: #333 !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.woocommerce-EditAccountForm .required {
    color: #ff0000 !important;
    text-decoration: none !important;
    font-weight: normal !important;
}

.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
    width: 100% !important;
    padding: 0.8rem 1rem !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.woocommerce-EditAccountForm input[type="text"]:focus,
.woocommerce-EditAccountForm input[type="email"]:focus,
.woocommerce-EditAccountForm input[type="password"]:focus {
    border-color: #4169E1 !important;
    box-shadow: 0 0 0 2px rgba(65, 105, 225, 0.1) !important;
    outline: none !important;
}

.woocommerce-EditAccountForm fieldset {
    border: none !important;
    padding: 1.5rem !important;
    margin: 2rem 0 !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
}

.woocommerce-EditAccountForm legend {
    color: #4169E1 !important;
    font-size: 1.2em !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    padding: 0 !important;
}

.woocommerce-EditAccountForm em {
    color: #666 !important;
    font-size: 0.9rem !important;
    display: block !important;
    margin-top: 0.5rem !important;
}

.woocommerce-EditAccountForm .password-input {
    position: relative !important;
    display: block !important;
}

.woocommerce-EditAccountForm .show-password-input {
    position: absolute !important;
    right: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    color: #666 !important;
}

.woocommerce-EditAccountForm .button {
    background: #4169E1 !important;
    color: #fff !important;
    padding: 1rem 2rem !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    margin-top: 1rem !important;
}

.woocommerce-EditAccountForm .button:hover {
    background: #3151b0 !important;
}

@media screen and (max-width: 768px) {
    .woocommerce-EditAccountForm {
        padding: 1.5rem !important;
    }

    .woocommerce-EditAccountForm .form-row {
        margin-bottom: 1rem !important;
    }

    .form-row-first,
    .form-row-last {
        width: 100% !important;
        float: none !important;
    }

    .woocommerce-EditAccountForm fieldset {
        padding: 1rem !important;
        margin: 1.5rem 0 !important;
    }

    .woocommerce-EditAccountForm .button {
        width: 100% !important;
        padding: 1rem !important;
    }
}

/* Form row layout */
.form-row-first {
    float: left !important;
    width: 48% !important;
    clear: both !important;
}

.form-row-last {
    float: right !important;
    width: 48% !important;
}

.form-row-wide {
    clear: both !important;
    width: 100% !important;
}

/* Clear fix for form rows */
.woocommerce-EditAccountForm .clear {
    clear: both !important;
    height: 0 !important;
    visibility: hidden !important;
}

/* Order Payment Page Styles */
.woocommerce form#order_review {
    background: #fff !important;
    padding: 2rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    max-width: 800px !important;
    margin: 2rem auto !important;
}

.woocommerce form#order_review table.shop_table {
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 0 2rem 0 !important;
}

.woocommerce form#order_review table.shop_table thead th {
    background: #4169E1 !important;
    color: #fff !important;
    padding: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
}

.woocommerce form#order_review table.shop_table thead th:first-child {
    border-top-left-radius: 8px !important;
}

.woocommerce form#order_review table.shop_table thead th:last-child {
    border-top-right-radius: 8px !important;
}

.woocommerce form#order_review table.shop_table tbody td {
    padding: 15px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #333 !important;
}

.woocommerce form#order_review table.shop_table tfoot {
    background: #f8f9fa !important;
}

.woocommerce form#order_review table.shop_table tfoot th,
.woocommerce form#order_review table.shop_table tfoot td {
    padding: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.woocommerce form#order_review table.shop_table tfoot tr:last-child {
    background: #edf2f7 !important;
    font-size: 1.1em !important;
}

.woocommerce form#order_review table.shop_table tfoot tr:last-child th,
.woocommerce form#order_review table.shop_table tfoot tr:last-child td {
    color: #2d3748 !important;
    font-weight: 700 !important;
}

/* Payment Section */
.woocommerce form#order_review #payment {
    background: #f8f9fa !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    margin-top: 2rem !important;
}

.woocommerce form#order_review #payment ul.payment_methods {
    padding: 0 !important;
    border: none !important;
}

.woocommerce form#order_review #payment .woocommerce-info {
    margin: 0 !important;
    background: transparent !important;
    border: 2px solid #FFA500 !important;
    color: #333 !important;
    padding: 1rem !important;
}

.woocommerce form#order_review #payment .form-row {
    padding: 1rem 0 0 0 !important;
    margin: 0 !important;
}

/* Privacy Policy Text */
.woocommerce form#order_review .woocommerce-privacy-policy-text {
    margin-bottom: 1.5rem !important;
    font-size: 0.9rem !important;
    color: #666 !important;
}

.woocommerce form#order_review .woocommerce-privacy-policy-text a {
    color: #4169E1 !important;
    text-decoration: none !important;
}

.woocommerce form#order_review .woocommerce-privacy-policy-text a:hover {
    color: #FFA500 !important;
}

/* Pay Button */
.woocommerce form#order_review #place_order {
    background: linear-gradient(135deg, #FFA500 0%, #FF4500 100%) !important;
    color: #fff !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 6px !important;
    width: 100% !important;
    margin-top: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3) !important;
}

.woocommerce form#order_review #place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4) !important;
}

@media screen and (max-width: 768px) {
    .woocommerce form#order_review {
        padding: 1rem !important;
        margin: 1rem !important;
    }

    .woocommerce form#order_review table.shop_table thead th,
    .woocommerce form#order_review table.shop_table tbody td,
    .woocommerce form#order_review table.shop_table tfoot th,
    .woocommerce form#order_review table.shop_table tfoot td {
        padding: 10px !important;
        font-size: 14px !important;
    }

    .woocommerce form#order_review #payment {
        padding: 1rem !important;
    }
}

@media screen and (max-width: 480px) {
    .woocommerce form#order_review table.shop_table thead th,
    .woocommerce form#order_review table.shop_table tbody td,
    .woocommerce form#order_review table.shop_table tfoot th,
    .woocommerce form#order_review table.shop_table tfoot td {
        padding: 8px !important;
        font-size: 13px !important;
    }

    .woocommerce form#order_review #place_order {
        padding: 0.8rem !important;
        font-size: 1rem !important;
    }
}

/* Order Details Table Styles */
.woocommerce-table--order-details {
    margin: 2em auto !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
}

/* Product Links in Order Details */
.woocommerce-table__product-name a {
    color: #4169E1 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: inline-block !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
}

.woocommerce-table__product-name a:hover {
    color: #FFA500 !important;
    background: rgba(65, 105, 225, 0.1) !important;
    transform: translateX(5px) !important;
}

.woocommerce-table__product-name a::after {
    content: '🏒' !important;
    position: absolute !important;
    right: -20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
}

.woocommerce-table__product-name a:hover::after {
    opacity: 1 !important;
    right: -25px !important;
}

/* Action Buttons in Order Details */
.order-actions-button {
    display: inline-block !important;
    padding: 10px 20px !important;
    margin: 5px !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    border: none !important;
    font-family: "Impact", "Arial Black", sans-serif !important;
}

/* Pay Button */
.order-actions-button.pay {
    background: linear-gradient(135deg, #FFA500, #FF4500) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3) !important;
}

.order-actions-button.pay:hover {
    background: linear-gradient(135deg, #FF4500, #FFA500) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4) !important;
}

/* Cancel Button */
.order-actions-button.cancel {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3) !important;
}

.order-actions-button.cancel:hover {
    background: linear-gradient(135deg, #c82333, #dc3545) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4) !important;
}

/* Product Quantity */
.product-quantity {
    color: #666 !important;
    background: #f8f9fa !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    margin-left: 10px !important;
    font-size: 0.9em !important;
}

/* Price Amounts */
.woocommerce-Price-amount {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 1.1em !important;
}

.woocommerce-table--order-details tfoot tr:last-child .woocommerce-Price-amount {
    color: #4169E1 !important;
    font-size: 1.2em !important;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .order-actions-button {
        display: block !important;
        width: 100% !important;
        margin: 5px 0 !important;
        text-align: center !important;
    }

    .woocommerce-table__product-name a {
        font-size: 0.9em !important;
    }

    .product-quantity {
        display: block !important;
        margin: 5px 0 !important;
        text-align: center !important;
    }
}

/********************************/
/*      Tracking Details        */  
/********************************/
.tracking-detail.col.shipment_1 {
    background-color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.tracking-detail.col.shipment_1 p,
.tracking-detail.col.shipment_1 span,
.tracking-detail.col.shipment_1 strong,
.tracking-detail.col.shipment_1 div {
    color: black;
}

.trackship_branding,
.order-again,
.woocommerce-button.button.ast_track,
.order-actions--heading {
    display: none !important;
}

.tracking_number_wrap {
    background-color: #4169E1;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-top: 1px solid #fff;
    color: white;
}

.shipment-content {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.tracking_number_wrap p {
    color: white;
}

.tracking-detail.col.shipment_1 .tracking_number_div p,
.tracking-detail.col.shipment_1 .tracking_number_div span,
.tracking-detail.col.shipment_1 .tracking_number_div strong,
.tracking-detail.col.shipment_1 .tracking_number_div div {
    color: white;
}