select,
input:not([type="radio"], [type="checkbox"]) {
    font-size: 1rem;
    padding: 0 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(27, 42, 65, 1);
    outline: none;
    height: 3.75rem;
    background-color: transparent;
    margin-bottom: 1.5rem;
    width: 100%;
}
h2 {
    font-size: 4rem;
}
.account-profile {
    padding: 4rem 0;
}

.account-profile__wrapper {
    display: grid;
    grid-template-columns: 33.25rem 1px 1fr;
    gap: 4rem;
    padding-bottom: 6rem;
}
/* SIDEBAR */
.account-name {
    margin-bottom: 3rem;
}

.account-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.account-menu__item {
    padding: 0 1.5rem;
    border: 1px solid #000;
    border-radius: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    background: transparent;
    height: 3.563rem;
    line-height: 3.563rem;
    font-size: 1.25rem;
    color: rgba(16, 15, 15, 1);
    font-weight: 500;
    text-decoration: none;
}
.account-menu__item img {
    max-width: 1.5rem;
    margin-right: 1rem;
}
.account-menu__item.is-active img,
.account-menu__item:hover img {
    filter: brightness(0) invert(1);
}
.account-menu__item:hover,
.account-menu__item.is-active {
    background: rgba(180, 72, 0, 1);
    color: #fff;
    border-color: rgba(180, 72, 0, 1);
}

.account-menu__item.logout {
    margin-top: 20px;
}

/* DIVIDER */
.account-divider {
    width: 1px;
    background: #111;
}

/* CONTENT */
.account-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.form-group input:not([type="radio"], [type="checkbox"]) {
    font-size: 1.125rem;
    margin-bottom: 0;
}
.form-group label {
    font-size: 1.125rem;
    font-weight: 600;
}
.form-group select {
    max-width: 16.25rem;
}
.form-group {
    display: grid;
    grid-template-columns: 1fr 40rem;
    align-items: center;
    margin-bottom: 1.25rem;
}
.radio-group input {
    width: 1.563rem;
    height: 1.563rem;
    accent-color: #000;
}
.radio-group label input {
    margin-right: 0.5rem;
}
.radio-group label {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
}
.form-group input[type="date"] {
    max-width: 22.188rem;
}
.form-actions button.btn.btn-outline {
    color: rgba(180, 72, 0, 1);
    background-color: transparent;
    border: 1px solid rgba(180, 72, 0, 1);
}
.form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

/* Item */
.order-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 0.0625rem solid #2b2b2b;
    align-items: flex-start;
}

.order-thumb {
    width: 9.625rem;
    height: 9.625rem;
    border-radius: 1rem;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Info */
.order-info {
    flex: 1;
}

.order-code {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: rgba(27, 42, 65, 1);
}
.order-code a {
    color: rgba(27, 42, 65, 1);
    text-decoration: none;
}
.order-product {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(27, 42, 65, 1);
}
.order-code + p.order-product {
    margin-top: auto;
}
/* Meta */
.order-meta {
    text-align: right;
    min-width: 10rem;
}

.order-status {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.order-status {
    font-size: 1rem;
    font-weight: 600;
}
/* Status colors */
.order-status.delivering {
    color: rgba(27, 42, 65, 1);
}

.order-status.received {
    color: rgba(53, 59, 159, 1);
}

.order-status.completed {
    color: rgba(53, 159, 131, 1);
}

.order-status.cancelled {
    color: rgba(159, 53, 55, 1);
}
.order-item:last-child {
    border-bottom: 0;
    margin-bottom: 2.5rem;
}
/* Price */
.order-price {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: rgba(27, 42, 65, 1);
    margin-top: 4rem;
}

/* Button */
.load-more {
    border: 0.125rem solid rgba(180, 72, 0, 1);
    color: rgba(180, 72, 0, 1);
    background: transparent;
}
.load-more:hover {
    color: #fff;
}

.summary-item .thumb {
    width: 7.5rem;
    height: 7.5rem;
    background-color: rgba(220, 220, 217, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.summary-item {
    display: grid;
    grid-template-columns: 6rem 1fr auto;
    gap: 1.6rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #000;
}

.summary-item img {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
}

.tag {
    display: inline-block;
    background: rgba(220, 220, 217, 1);
    padding: 0.4rem 0.8rem;
    border-radius: 0.6rem;
    font-size: 1rem;
}
.price del {
    font-size: 0.813rem;
    color: rgba(162, 168, 177, 1);
    display: block;
    margin-top: 0.5rem;
}
.summary-item .thumb + div {
    padding-left: 1rem;
}
.title-total-row {
    margin-top: 1.5rem;
}
.summary-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}
.price {
    text-align: right;
    font-size: 1.25rem;
    display: block;
    line-height: 1;
    font-weight: 600;
}
a.btn.btn-back.btn-outline {
  border: 2px solid rgba(180, 72, 0, 1);
  background-color: transparent;
  color: rgba(180, 72, 0, 1);
  margin-top: 2.5rem;
}
.tracking-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 3.75rem;
    margin-top: 3.75rem;
}
.step:nth-child(1) > * {
  margin-left: 0;
  text-align: left;
}
.step:last-child > * {
  margin-right: 0;
  margin-left: auto;
  text-align: right;
}
.tracking-steps::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: #1a2b3c;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: left;
    flex: 1;
    font-family: "Cabin", sans-serif;
}

.step-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #1a2b3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
}

.step.active .step-icon {
    box-shadow: 0 0 0 0.25rem #fcf8f1, 0 0 0 0.375rem #1a2b3c;
}
.tracking-container {
  font-family: "Cabin", sans-serif;
}
.step-label {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.3125rem;
  font-family: "Cabin", sans-serif;
  margin-top: 1rem;
}
.step-date {
    color: rgba(166, 166, 166, 1);
    font-size: 1.25rem;
  font-family: "Cabin", sans-serif;
  font-weight: 500;
}
.updates-title {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: rgba(30, 39, 10, 1);
}
.updates-table {
    width: 100%;
    border-collapse: collapse;
}

.updates-table th {
  text-align: left;
  border-bottom: 0.125rem solid #ddd;
  padding: 0.625rem;
  color: rgba(30, 39, 10, 1);
  font-size: 1.25rem;
}

.updates-table td {
    padding: 0.9375rem 0.625rem;
    border-bottom: 0.0625rem solid #eee;
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(166, 166, 166, 1);
}
.updates-table td.event-name {
  color: rgba(30, 39, 10, 1);
  font-weight: 700;
}
/* --- RESPONSIVE PROFILE & ORDERS --- */

@media (max-width: 991px) {
    .form-group,
    .account-profile__wrapper {
        display: block;
    }
    .account-content {
        margin-top: 2rem;
    }
    .form-group label {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 1rem;
        display: block;
    }
    .form-group input[type="date"],
    .form-group select {
        max-width: 100%;
    }
    .order-price {
        margin-top: 1rem;
    }
    .order-meta {
        text-align: left;
        min-width: auto;
        max-width: 100%;
    }
    .order-item {
        flex-wrap: wrap;
    }
    .account-divider {
        display: none;
    }

    .account-sidebar {
        text-align: center;
    }

    .account-name {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .account-title {
        font-size: 1.8rem;
        word-break: break-all;
    }
}

@media (max-width: 767px) {
    .account-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .account-menu__item {
        font-size: 0.9rem;
        height: 3.2rem;
        padding: 0 0.8rem;
    }

    .summary-item {
        grid-template-columns: 5rem 1fr;
        gap: 1rem;
        align-items: center;
    }

    .summary-item .thumb {
        width: 5rem;
        height: 5rem;
    }

    .summary-item .price {
        grid-column: 1 / -1;
        text-align: left;
        margin-top: 0.5rem;
    }

    .tracking-steps {
        flex-direction: column;
        gap: 2rem;
        padding-left: 2.5rem;
        margin-top: 2rem;
    }

    .tracking-steps::before {
        left: 1.2rem;
        top: 0;
        width: 0.25rem;
        height: 100%;
    }

    .step {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        padding-left: 1rem;
    }

    .step:nth-child(1) > *, 
    .step:last-child > * {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .step-icon {
        position: absolute;
        left: -2.5rem;
        top: 0;
        margin: 0;
        z-index: 3;
    }

    .step-label {
        margin-top: 0;
        font-size: 1.1rem;
    }

    .step-date {
        font-size: 1rem;
    }

    .updates-table thead {
        display: none;
    }

    .updates-table tr {
        display: block;
        border-bottom: 1px solid #eee;
        padding: 1rem 0;
    }

    .updates-table td {
        display: block;
        padding: 4px 0;
        border: none;
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 414px) {
    .account-menu {
        grid-template-columns: 1fr;
    }

    .account-title {
        font-size: 1.3rem;
    }

    .summary-item .thumb {
        width: 4.5rem;
        height: 4.5rem;
    }

    .updates-title {
        font-size: 1.5rem;
    }

    .btn-back {
        width: 100%;
        text-align: center;
    }
}