/* ==========================================================================
   WooCommerce Account Pages Styles
   ========================================================================== */

/* Account Navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: none;
    margin: 0;
    position: relative;
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation li {
        border-bottom: 0px !important;
    }
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 1rem 1.5rem;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: transparent;
    color: #495057;
    padding-left: 1.5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: transparent;
    color: #6f42c1;
    border-bottom-color: #6f42c1;
    font-weight: 600;
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation a {
        display: inline-block;
        border-left: 0 !important;
        padding-left: 0 !important;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
        background: transparent !important;
        color: #6f42c1;
        border-bottom: 2px solid #6f42c1 !important;
        border-left: 0 !important;
    }
}

/* Account Content */
.woocommerce-account .woocommerce-MyAccount-content {
    background: #ffffff;
}

/* Dashboard */
.woocommerce-MyAccount-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Orders Table */
.woocommerce-orders-table,
.woocommerce-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.woocommerce-orders-table thead th,
.woocommerce-table thead th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
}

.woocommerce-orders-table tbody td,
.woocommerce-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.woocommerce-orders-table tbody tr:hover,
.woocommerce-table tbody tr:hover {
    background: #f8f9fa;
}

/* Order Actions */
.woocommerce-orders-table__cell-order-actions a,
.woocommerce-table .woocommerce-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #007cba;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.woocommerce-orders-table__cell-order-actions a:hover,
.woocommerce-table .woocommerce-button:hover {
    background: #005a87;
    transform: translateY(-1px);
}

/* Order Status */
.woocommerce-orders-table__cell-order-status mark {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-processing {
    background: #fff3cd;
    color: #856404;
}

.status-pending {
    background: #f8d7da;
    color: #721c24;
}

.status-cancelled {
    background: #f1f1f1;
    color: #6c757d;
}

/* Downloads Table */
.woocommerce-table--my-account tbody tr:nth-child(2n) td {
    background: #f8f9fa;
}

/* Addresses */
.woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.woocommerce-Address {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
}

.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.woocommerce-Address-title h3 {
    margin: 0;
    color: #212529;
    font-size: 1.25rem;
}

.woocommerce-Address address {
    font-style: normal;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 1rem;
}

.woocommerce-Address .edit {
    background: #007cba;
    color: #ffffff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.woocommerce-Address .edit:hover {
    background: #005a87;
}

/* Forms */
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
    background: #ffffff;
    padding: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

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

.woocommerce-form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.woocommerce-form-row .required {
    color: #dc3545;
}

.woocommerce-Input,
.woocommerce-form-row input[type='text'],
.woocommerce-form-row input[type='email'],
.woocommerce-form-row input[type='tel'],
.woocommerce-form-row input[type='password'],
.woocommerce-form-row select,
.woocommerce-form-row textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.woocommerce-Input:focus,
.woocommerce-form-row input:focus,
.woocommerce-form-row select:focus,
.woocommerce-form-row textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 0.2rem rgba(0, 124, 186, 0.25);
}

/* Form Row Layouts */
.woocommerce-form-row--wide {
    width: 100%;
}

.woocommerce-form-row--first,
.woocommerce-form-row--last {
    width: calc(50% - 0.5rem);
    display: inline-block;
}

.woocommerce-form-row--first {
    margin-right: 1rem;
}

/* Button Styles */
.woocommerce-Button,
.woocommerce-form-row input[type='submit'],
button[type='submit'] {
    background: #007cba;
    color: #ffffff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.woocommerce-Button:hover,
.woocommerce-form-row input[type='submit']:hover,
button[type='submit']:hover {
    background: #005a87;
    transform: translateY(-1px);
}

/* Messages and Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    position: relative;
}

.woocommerce-message {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.woocommerce-info::before {
    display: none !important;
}

.woocommerce-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.woocommerce-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Logout Link */
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #dc3545;
}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #f8d7da;
    color: #721c24;
}

/* Account Details Form */
.woocommerce-form-row .woocommerce-form-row__label-for-checkbox {
    font-weight: normal;
    display: inline;
    margin-left: 0.5rem;
}

.woocommerce-form-row input[type='checkbox'] {
    width: auto;
    margin-right: 0.5rem;
}

/* Password Strength */
.woocommerce-password-strength {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.woocommerce-password-strength.short {
    background: #f8d7da;
    color: #721c24;
}

.woocommerce-password-strength.bad {
    background: #fff3cd;
    color: #856404;
}

.woocommerce-password-strength.good {
    background: #d4edda;
    color: #155724;
}

.woocommerce-password-strength.strong {
    background: #d1ecf1;
    color: #0c5460;
}

/* Password Change Form */
.woocommerce-change-password {
    background: #ffffff;
}

.woocommerce-change-password fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.woocommerce-change-password legend {
    font-size: 12px;
    font-weight: 600;
    color: #08041c;
    margin-bottom: 1.5rem;
    padding: 0;
}

.woocommerce-change-password label {
    color: #8e8e8e;
    font-size: 10px;
    text-transform: uppercase;
}

.woocommerce-change-password input {
    border-radius: 0 !important;
    border: 1px solid #eeeeee !important;
}

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

.woocommerce-EditPasswordForm input[type='password'] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.woocommerce-EditPasswordForm input[type='password']:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 0.2rem rgba(0, 124, 186, 0.25);
}

/* Delete Account Form */
.woocommerce-delete-account {
    background: #ffffff;
}

.delete-account-title {
    color: #08041c;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.delete-account-description {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.delete-account-description p {
    margin-bottom: 1rem;
    color: #6c757d;
}

.delete-account-description p:last-child {
    color: #dc3545;
    font-weight: 500;
}

.delete-account-confirmation {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.delete-account-confirmation label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0;
    cursor: pointer;
    line-height: 1.5;
}

.delete-account-confirmation input[type='checkbox'] {
    margin-top: 0.125rem;
    flex-shrink: 0;
    width: auto;
}

.delete-account-confirmation .woocommerce-form-row:last-child {
    margin-bottom: 0;
}

.delete-account-button {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.delete-account-button:hover {
    background: #c82333 !important;
    border-color: #bd2130 !important;
    transform: translateY(-1px);
}

.delete-account-actions {
    text-align: left;
    margin-top: 1rem;
}

/* Address Management Styles */
.account-addresses-section {
    margin-top: 3rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
}

.addresses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    padding-top: 24px;
    border-top: 1px solid #e9ecef;
}

.addresses-header h3 {
    margin: 0;
    color: #212529;
    font-size: 12px;
    font-weight: 600;
}

.add-address-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 1px solid #db1f1f;
    color: #db1f1f;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-address-btn:hover {
    background: #db1f1f;
    color: #fff;
    transform: scale(1.05);
}

.add-address-btn svg {
    color: currentColor;
    width: 10px;
    height: auto;
}

.addresses-list {
    display: grid;
    gap: 1.5rem;
}

.no-addresses-message {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    color: #6c757d;
}

.address-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.address-content {
    flex: 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
}

.address-text {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .address-text {
        margin-bottom: -16px;
    }
}

.address-status {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .address-content {
        gap: 16px;
        width: 100%;
        align-items: flex-start;
    }

    .address-status {
        width: 100%;
        min-width: 100%;
    }

    .address-text {
        width: 100%;
    }

    .status-badge {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .edit-address-btn {
        position: absolute;
        top: 0;
        right: 0;
    }
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-primary {
    color: #08041c;
    margin-left: 0.5rem;
}

.status-badge svg {
    width: 12px;
    height: 12px;
}

.address-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.edit-address-btn,
.make-primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 0;
}

.edit-address-btn svg,
.make-primary-btn svg {
    width: 14px;
    height: 14px;
}

.make-primary-btn {
    flex-wrap: nowrap !important;
    margin-left: 52px !important;
    width: 140px !important;
    color: #db1f1f;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .make-primary-btn {
        margin-left: 0 !important;
    }
}

/* Address Modal */
.address-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.address-modal-content {
    background: #ffffff;
    padding: 0;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.address-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
}

.address-modal-header h4 {
    margin: 0;
    color: #212529;
    font-size: 1.25rem;
    font-weight: 600;
}

.close-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    color: #6c757d;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #f8f9fa;
    color: #495057;
}

.address-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #ced4da;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 0.2rem rgba(0, 124, 186, 0.25);
}

.form-group .required {
    color: #dc3545;
}

.address-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: #6c757d;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    background: #6f42c1 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #6f42c1 !important;
    color: #fff !important;
}

/* Order Details */
.woocommerce-order-details {
    margin-bottom: 2rem;
}

.woocommerce-order-details__title {
    margin-bottom: 1rem;
    color: #212529;
}

.woocommerce-table--order-details {
    margin-bottom: 2rem;
}

.woocommerce-table--order-details .product-name {
    font-weight: 600;
}

.woocommerce-table--order-details .product-total {
    font-weight: 600;
    text-align: right;
}

/* Customer Details */
.woocommerce-customer-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.woocommerce-customer-details h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #212529;
}

.woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.6;
}

/* Downloads */
.woocommerce-MyAccount-downloads .woocommerce-table td {
    vertical-align: middle;
}

.woocommerce-MyAccount-downloads .download-product {
    font-weight: 600;
}

.woocommerce-MyAccount-downloads .download-file a {
    color: #007cba;
    text-decoration: none;
}

.woocommerce-MyAccount-downloads .download-file a:hover {
    text-decoration: underline;
}

/* Thank You Page Style Order Items Table */
.order-items-wrapper {
    margin: 2rem 0;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.order-items-table thead th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
}

.order-items-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.order-items-table .product-thumbnail {
    width: 80px;
    text-align: center;
}

.order-items-table .product-thumbnail img {
    max-width: 60px;
    height: auto;
    border-radius: 4px;
}

.order-items-table .product-name {
    font-weight: 600;
}

.order-items-table .product-name .wc-item-meta {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.order-items-table .product-price,
.order-items-table .product-quantity,
.order-items-table .product-subtotal {
    text-align: center;
    font-weight: 500;
}

.order-items-table .quantity-display {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    min-width: 40px;
    text-align: center;
}

/* Bottom Order Information Section */
.bottom-order-information {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-top: 3rem;
    border-radius: 8px;
}

.bottom-order-information .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.bottom-order-information .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.bottom-order-information .col-xs-12 {
    padding: 0 0.75rem;
    margin-bottom: 2rem;
}

.bottom-order-information .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.bottom-order-information .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.bottom-order-information .subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.bottom-order-information .title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
}

.bottom-order-information .title span {
    color: #28a745;
    font-weight: 700;
}

.bottom-order-information .description {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.bottom-order-information .phone {
    font-size: 1rem;
    font-weight: 600;
    color: #007cba;
}

/* Order Total Wrapper */
.order-total-wrapper {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.order-total-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.125rem;
    color: #212529;
}

.order-total-row div:first-child {
    color: #6c757d;
}

.order-total-row div:last-child {
    font-weight: 600;
    color: #212529;
}

/* Order Notes Section */
.order-notes-section {
    margin-top: 3rem;
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-notes-section h2 {
    margin-bottom: 1.5rem;
    color: #212529;
    font-size: 1.25rem;
}

.woocommerce-OrderUpdates {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-OrderUpdate {
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f8f9fa;
}

.woocommerce-OrderUpdate:last-child {
    margin-bottom: 0;
}

.woocommerce-OrderUpdate-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.woocommerce-OrderUpdate-description {
    color: #212529;
    line-height: 1.6;
}

/* Order Overview */
.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 1.5rem;
    margin: 2rem 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    gap: 1rem;
}

.woocommerce-order-overview li {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 0.5rem;
}

.woocommerce-order-overview li strong {
    display: block;
    margin-top: 0.25rem;
    color: #212529;
    font-weight: 600;
}

/* Thank You Order Received Message */
.woocommerce-thankyou-order-received {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        margin-bottom: 1rem;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
        border-bottom: 1px solid #e9ecef;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li {
        width: 100%;
        border-bottom: 1px solid #e9ecef;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
        border-bottom: none;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a {
        border-bottom: none;
        border-left: 3px solid transparent;
        padding: 0.75rem 1rem;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
        border-bottom: none;
        border-left-color: #6f42c1;
        background: #f8f9fa;
    }

    .woocommerce-Addresses {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .woocommerce-form-row--first,
    .woocommerce-form-row--last {
        width: 100%;
        display: block;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .woocommerce-orders-table,
    .woocommerce-table {
        font-size: 0.875rem;
    }

    .woocommerce-orders-table th,
    .woocommerce-orders-table td,
    .woocommerce-table th,
    .woocommerce-table td {
        padding: 0.5rem;
    }

    /* Thank You Page Responsive Styles */
    .order-items-table {
        font-size: 0.875rem;
    }

    .order-items-table thead {
        display: none;
    }

    .order-items-table tbody td {
        display: block;
        text-align: left;
        border: none;
        position: relative;
        padding: 0.5rem 1rem;
    }

    .order-items-table tbody td:before {
        content: attr(data-title) ': ';
        font-weight: 600;
        color: #495057;
    }

    .order-items-table tbody tr {
        display: block;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        margin-bottom: 1rem;
        background: #ffffff;
    }

    .order-items-table .product-thumbnail {
        text-align: center;
        padding: 1rem;
    }

    .bottom-order-information .row {
        flex-direction: column;
    }

    .bottom-order-information .col-sm-3,
    .bottom-order-information .col-sm-6 {
        flex: 1;
        max-width: 100%;
    }

    .woocommerce-order-overview {
        flex-direction: column;
        gap: 0.5rem;
    }

    .woocommerce-order-overview li {
        text-align: left;
        border-bottom: 1px solid #e9ecef;
        padding: 0.75rem 0;
    }

    .woocommerce-order-overview li:last-child {
        border-bottom: none;
    }

    .order-notes-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 1rem;
    }

    .woocommerce-EditAccountForm,
    .woocommerce-address-fields,
    .woocommerce-delete-account,
    .account-addresses-section {
        padding: 1rem;
    }

    .delete-account-title {
        font-size: 12px;
    }

    .addresses-header h3 {
        font-size: 1.125rem;
    }

    .add-address-btn {
        width: 36px;
        height: 36px;
    }

    .address-item {
        flex-direction: column;
        gap: 1rem;
    }

    .address-actions {
        margin-left: 0;
        justify-content: flex-start;
    }

    .address-modal-content {
        width: 95%;
        margin: 1rem;
    }

    .address-modal-header,
    .address-form-grid,
    .address-modal-actions {
        padding: 1rem;
    }

    .address-form-grid {
        grid-template-columns: 1fr;
    }

    .address-modal-actions {
        flex-direction: column;
    }

    .woocommerce-orders-table,
    .woocommerce-table {
        font-size: 0.75rem;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
}

/* Tablet styles */
@media (max-width: 768px) and (min-width: 481px) {
    .account-addresses-section {
        padding: 1.5rem;
    }

    .address-item {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .address-actions {
        margin-left: 0;
        justify-content: flex-start;
    }

    .address-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .woocommerce-MyAccount-navigation {
        display: none;
    }

    .woocommerce-MyAccount-content {
        border: none;
        box-shadow: none;
    }
}

.woocommerce {
    max-width: 1100px;
    margin: 0 auto;
}

.woocommerce-EditAccountForm.edit-account {
    border: 0;
    padding: 0;
}

.woocommerce-EditAccountForm.edit-account label {
    color: #8e8e8e;
    font-size: 10px;
    text-transform: uppercase;
}

.woocommerce-EditAccountForm.edit-account input {
    border-radius: 0 !important;
    border: 1px solid #eeeeee !important;
}

.woocommerce-EditAccountForm.edit-account .woocommerce-Button.button {
    padding: 12px 24px;
    border-radius: 45px;
    border: 1px solid #6e26a1;
    color: #6e26a1;
    transition: all 0.3s ease;
    font-size: 12px;
    background-color: transparent;
    font-weight: 600;
}

.woocommerce-EditAccountForm.edit-account .woocommerce-Button.button:hover {
    background-color: #6e26a1;
    color: #fff;
}

.woocommerce-message {
    border-top-color: #28a745 !important;
}

.woocommerce-message::before {
    display: none !important;
}

.account-addresses-section {
    border: 0;
    border-radius: 0;
    padding: 0;
}

.woocommerce-view-order .woocommerce-order-details,
.woocommerce-view-order .woocommerce-customer-details {
    display: none;
}

.woocommerce-view-order .bottom-order-information {
    background: #fff;
}

.woocommerce-view-order .order-total-wrapper {
    border: 0;
    box-shadow: none;
    padding: 0;
}

.woocommerce-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.woocommerce-info .woocommerce-Button {
    margin: 0 0 0 auto !important;
}

@media (max-width: 768px) {
    .woocommerce-info {
        flex-direction: column;
    }

    .woocommerce-info .woocommerce-Button {
        margin: 16px auto 0 auto !important;
    }
}

/* Birth Date Fields Styling */
.birth-date-fields {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 500px;
}

.birth-date-fields select {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem;
    border: 1px solid #eeeeee !important;
    border-radius: 0 !important;
    background-color: #fff;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.birth-date-fields select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 0.2rem rgba(0, 124, 186, 0.25);
}

/* Mobile responsiveness for birth date fields */
@media (max-width: 768px) {
    .birth-date-fields {
        flex-direction: column;
        gap: 0.75rem;
    }

    .birth-date-fields select {
        min-width: 100%;
    }
}

/* Ensure birth date field label matches other field labels */
.woocommerce-form-row label[for='birth_date'] {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

