﻿/*My Account Menu*/

/* nopCommerce's typical customer-navigation block structure:
     .block.block-customer-navigation > .title, then ul.list > li > a
     Adjust selectors below if your real class names differ. */

  .block-customer-navigation { 
    background: #f6f6f4 !important;
    border: 1px solid #e5e5e5; margin-top: 34px;
    border-radius: 10px;
    overflow: hidden; /* keeps the header's corners rounded to match the card */
  }

  .block-customer-navigation .title {
    background: #efefec;
    padding: 16px 20px;
    margin: 0;
    border: none;
  }

  .block-customer-navigation .title strong {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #19212b;
  }

  .block-customer-navigation .listbox {
    margin: 0;
  }

  .block-customer-navigation ul.list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .block-customer-navigation ul.list li a {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    border-top: 1px solid #e5e5e5;
    border-left: 3px solid transparent;
  }

  .block-customer-navigation ul.list li a:hover {
    background: #efefec;
    color: #19212b;
  }

  .block-customer-navigation ul.list li.active a {
    border-left: 3px solid #19212b;
    background: #ebebe7;
    color: #19212b;
    font-weight: 600;
  }

.page-title {
    margin-bottom: 1.5rem;
}

    .page-title .eyebrow {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #999;
        margin: 0 0 6px;
    }

    .page-title h1 {
        font-size: 34px;
        font-weight: 700;
        margin: 0;
    }

.account-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start; 
}
.account-page {
  width: 100%;
}
/* ---------- Mobile accordion account menu ---------- */
.mobile-account-nav {
    display: none;
    position: relative;
    background: #f6f6f4;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin-bottom: 24px;
}

    .mobile-account-nav summary {
        list-style: none;
        cursor: pointer;
        padding: 14px 20px;
        font-size: 15px;
        color: #19212b;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .mobile-account-nav summary::-webkit-details-marker {
            display: none;
        }

        .mobile-account-nav summary .chevron {
            width: 16px;
            height: 16px;
            transition: transform 0.15s ease;
            flex-shrink: 0;
        }

    .mobile-account-nav[open] summary .chevron {
        transform: rotate(180deg);
    }

    .mobile-account-nav .menu-links {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        z-index: 30;
        overflow: hidden;
    }

        .mobile-account-nav .menu-links a {
            display: block;
            padding: 12px 20px;
            font-size: 14px;
            color: #555;
            text-decoration: none;
            border-top: 1px solid #e5e5e5;
            border-left: 3px solid transparent;
        }

            .mobile-account-nav .menu-links a:first-child {
                border-top: none;
            }

            .mobile-account-nav .menu-links a.active {
                border-left: 3px solid #19212b;
                background: #ebebe7;
                color: #19212b;
                font-weight: 600;
            }

/* ---------- Desktop sidebar ---------- */
.account-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #f6f6f4;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
}

    .account-sidebar a {
        display: block;
        padding: 10px 16px;
        font-size: 14px;
        color: #555;
        text-decoration: none;
        border-left: 3px solid transparent;
        border-top: 1px solid #e5e5e5;
    }

        .account-sidebar a:first-child {
            border-top: none;
        }

        .account-sidebar a:hover {
            background: #efefec;
            color: #19212b;
        }

        .account-sidebar a.active {
            border-left: 3px solid #19212b;
            background: #ebebe7;
            color: #19212b;
            font-weight: 600;
        }

@media (max-width: 767px) {
    body {
        padding: 32px 24px;
    }

    .account-sidebar {
        display: none;
    }

    .mobile-account-nav {
        display: block;
    }

    .account-layout {
        flex-direction: column;
    }
}

 .addresses-list {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 16px;
		margin-top: 20px;
    }

    .address-card {
        background: #f6f6f4;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        padding: 1.25rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
    }

        .address-card .address-name {
            font-size: 15px;
            font-weight: 700;
            margin: 0 0 10px;
        }

        .address-card .address-details {
            font-size: 14px;
            color: #555;
            line-height: 1.7;
        }

            .address-card .address-details .field-label {
                color: #999;
                margin-right: 4px;
            }

        .address-card .address-actions {
            display: flex;
            gap: 10px;
            flex-shrink: 0;
        }
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 6px;
        padding: 10px 22px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        text-decoration: none;
    }

    .btn-primary {
        background: #19212b;
        color: #fff;
    }

        .btn-primary:hover {
            background: #0c1220;
        }

    .btn-danger-outline {
        background: #fff;
        color: #a12727;
        border: 1px solid #d9b3b3;
    }

        .btn-danger-outline:hover {
            background: #fcefef;
        }

    .add-new-address {
        margin-top: 8px;
    }
@media (max-width: 700px) {
    .address-card {
      flex-direction: column;
    }
    .address-card .address-actions {
      width: 100%;
    }
    .address-card .address-actions .btn {
      flex: 1;
    }
  }
/*Order List page*/
.order-list .orders-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
	margin-top: 20px;
  }

  .order-list .order-card {
    background: #f6f6f4;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .order-list .order-card .order-number {
    font-size: 14px; 
    margin: 0 0 10px;
  }

  .order-list .order-card .order-meta {
    display: block;
    align-items: center;
    gap: 10px;
    font-size: 14px; 
    margin-bottom: 6px; line-height: 25px;
  }
   

  .order-list .order-card .order-total {
    font-size: 14px; 
  }

  

  .order-list .btn-details {
    flex-shrink: 0;
    background: #19212b;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }

  .order-list .btn-details:hover {
    background: #6b6f74; text-decoration:none;
  }
  .btn-secondary {    
    flex-shrink: 0;
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }

  .btn-secondary:hover {
    background: #f0f0ed;
  border-color: #999; text-decoration:none;
  }
  
  .btn-danger-outline {    
    flex-shrink: 0;
    background: #fff;
    color: #a12727;
    border: 1px solid #a12727 !important;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
	text-align: center;
  }

  .btn-danger-outline:hover {
    background: #fcefef;
  border-color: #a12727;
  text-decoration:none;
  }
  @media (max-width: 700px) {
     .order-list .order-card {
      flex-direction: column;
      align-items: flex-start;
    }
     .order-list .btn-details { 
      text-align: center; 
    }
  }
.order-list{
    font-family: Helvetica, Arial, sans-serif;
padding-right:20px;
}
/*RETURN REQUEST*/
 .return-request-page {
    max-width: 780px;
    margin: 0 auto;
  }

  .return-request-page h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
  }

  .section-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .section-card h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
  }

  .return-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0 14px 0;
    border-top: 1px solid #eee;
  }
.item-info{padding-right: 20px;
  margin-top: 20px; line-height: 20px;
}
 .return-item-row .unit-price{text-align: left;
  padding-top: 9px;}
  .return-item-row:first-of-type {
    border-top: none;
  }

  .return-item-row .item-info a {
    font-size: 14px;
    color: #10218b;
    text-decoration: underline;
  }

  .return-item-row .item-info .unit-price {
    margin: 4px 0 0;
    font-size: 13px;
    color: #777;
  }

  .return-item-row .item-controls {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .return-item-row .item-controls select {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
  }

  .return-item-row .item-controls select.qty-select {
    width: 70px;
  }

  .service-center-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .service-center-card {
    display: block;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 14px;
    cursor: pointer;
  }

  .service-center-card.selected {
    border: 1.5px solid #10218b;
    background: #eef1fb;
  }

  .service-center-card .sc-header {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 6px;
  }

  .service-center-card .sc-header input[type="radio"] {
    margin: 0;
  }

  .service-center-card .sc-name {
    font-weight: 600;
    font-size: 14px;
  }

  .service-center-card .sc-details {
    margin: 0;
    font-size: 12.5px;
    color: #777;
    line-height: 1.6;
  }

  @media (max-width: 600px) {
    .service-center-grid {
      grid-template-columns: 1fr;
    }
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
  }

  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
  }

  .form-group textarea {
    min-height: 100px;
    resize: vertical;
  }

  .submit-return-request-button {
    background: #19212b;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
  }

  .submit-return-request-button:hover {
    background: #0c1220;
  }

/*Return request Empty*/
/* ---------- Empty state ---------- */
  .returns-empty-state {
    flex: 1;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
	  margin-top: 20px;
  }

  .returns-empty-state .empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f0f0ed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #666;
  }

  .returns-empty-state h2 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
  }

  .returns-empty-state p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .returns-empty-state .btn-view-orders {
    background: #19212b;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 26px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }

  .returns-empty-state .btn-view-orders:hover {
    background: #6b6f74;
  }


/*Return Requests */

    .page-title {
        margin-bottom: 2rem;
    }

        .page-title .eyebrow {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #999;
            margin: 0 0 6px;
        }

        .page-title h1 {
            font-size: 34px;
            font-weight: 700;
            margin: 0;
        }

    
	.change-password-page .account-layout {
        width: 50%;
    }
    /* ---------- Return request cards ---------- */
    .return-requests-list {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .return-request-card {
        background: #f6f6f4;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        padding: 1.25rem 1.5rem;
    }

        .return-request-card .rr-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

            .return-request-card .rr-header .rr-id {
                font-size: 16px;
                font-weight: 700;
            }

    




.status-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-badge.pending {
  background: #fbe3b8;
  color: #6b3f06;
}

.status-badge.processing {
  background: #e3ecfb;
  color: #16408f;
}

.status-badge.shipped {
  background: #e7e2fb;
  color: #4527a0;
}

.status-badge.delivered {
  background: #d6eefc;
  color: #0a5f8a;
}

.status-badge.complete {
  background: #dcf3df;
  color: #1d6b2f;
}

.status-badge.cancelled {
  background: #fcebeb;
  color: #791f1f;
}



  /* ---------- Order cards ---------- */
  .orders-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
	margin-top: 20px;
	  width: 100%;
  }

  .order-card {
    background: #f6f6f4;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

  /* Signals the whole card is clickable, not just the button */
  .order-card:hover {
    border-color: #c9c9c4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  }

  /* Top row: status badge only, right-aligned. A separate row (not an
     absolute overlay) so it can never overlap the order number below it,
     regardless of how long the order number or badge text is. */
  .order-card .status-row {
    display: flex;
    justify-content: flex-end;
    margin: 0;
  }

  /* Bottom section: order details (left) + action buttons (right) */
  .order-card .order-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .order-card .order-info {
    display: flex;
    flex-direction: column;
    gap: 8px; /* single source of truth for spacing between all info lines */
  }

  .order-card .order-number,
  .order-card .meta-line {
    margin: 0; /* remove browser default <p> margins so gap is the only spacing */
  }

  .order-card .order-number {
    font-size: 15px;  font-weight: 700;
  }
.order-number span{color: #999; font-weight: 500;}
  .order-card .order-number .field-label {
    font-weight: 400;
    color: #999;
    margin-right: 4px;
  }

  .order-card .meta-line {
    font-size: 13.5px;
  }

  .order-card .meta-line .field-label {
    color: #999;
    margin-right: 4px;
  }

  .order-card .meta-line .value {
    color: #19212b;
    font-weight: 700;
  }

  .status-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  .status-badge.pending {
    background: #fbe3b8;
    color: #6b3f06;
  }

  .status-badge.processing {
    background: #e3ecfb;
    color: #16408f;
  }

  .status-badge.shipped {
    background: #e7e2fb;
    color: #4527a0;
  }

  .status-badge.delivered {
    background: #d6eefc;
    color: #0a5f8a;
  }

  .status-badge.completed {
    background: #dcf3df;
    color: #1d6b2f;
  }

  .status-badge.cancelled {
    background: #fcebeb;
    color: #791f1f;
  }

  /* ---------- Action row ---------- */
  .order-card .order-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-shrink: 0;
    align-self: center;
  }

  .btn-details,
  .btn-return {
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
  }

  .btn-details {
    background: #19212b;
    color: #fff;
  }

  .btn-details:hover {
    background: #6b6f74; text-decoration:none;
  }

  .btn-return {
    background: #fff;
    color: #19212b;
    border: 1px solid #ccc;
  }

  .btn-return:hover {
    background: #f0f0ed;
  }

  /* ---------- Account sidebar ---------- */
  .account-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #f6f6f4;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
  }

  .account-sidebar a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    border-left: 3px solid transparent;
    border-top: 1px solid #e5e5e5;
  }

  .account-sidebar a:first-child {
    border-top: none;
  }

  .account-sidebar a:hover {
    background: #efefec;
    color: #19212b;
  }

  .account-sidebar a.active {
    border-left: 3px solid #19212b;
    background: #ebebe7;
    color: #19212b;
    font-weight: 600;
  }

  /* ---------- Mobile ---------- */
  @media (max-width: 767px) {
    body { padding: 32px 24px; }
    .account-sidebar { display: none; }
    .account-layout { flex-direction: column; }

    .order-card .order-body {
      flex-direction: column;
      align-items: stretch;
    }

    .order-card .order-actions {
		flex-direction: initial;  
      align-self: stretch;
      margin-top: 6px;
    }

    .btn-details,
    .btn-return {
      width: 100%;
    }
  }