/* Honour Roll U - My Account Article Style */

.hru-my-account-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1em;

    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
}

@media (max-width: 768px) {
    .hru-my-account-wrapper {
        padding: 0 0;
    }
}

.hru-my-account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #e0e0e0;
}

.hru-my-account-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--theme-palette-color-3);
    margin: 0;
    letter-spacing: 0.5px;
}

.hru-logout-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.hru-my-account-content {
    display: flex;
    min-height: 600px;
}

.hru-account-sidebar {
    width: 250px;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
}

.hru-account-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hru-account-nav li {
    border-bottom: 1px solid #e0e0e0;
}

.hru-account-nav a {
    display: block;
    padding: 15px 25px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.hru-account-nav a:hover,
.hru-account-nav a.active {
    background: #e9ecef;
    color: var(--theme-palette-color-3);
}

.hru-account-main {
    flex: 1;
}

.hru-orders-header {
    margin-bottom: 30px;
}

.hru-orders-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--theme-palette-color-3);
    margin: 0;
    letter-spacing: 0.5px;
}

.hru-order-card {
    position: relative;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hru-order-card .ct-dynamic-count-notifications {
}

.hru-order-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.hru-order-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hru-order-label {
    font-size: 14px;
    color: #666;
}

.hru-order-date {
    font-size: 14px;
    color: var(--theme-palette-color-3);
    font-weight: 500;
}

.hru-contact-link {
    color: var(--theme-palette-color-1);
    text-decoration: none;
    font-size: 14px;
    margin-left: auto;
}

.hru-contact-link:hover {
    text-decoration: underline;
}

.hru-order-details {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.hru-order-number-section {
    flex: 1;
}

.hru-order-status {
    margin-bottom: 8px;
}

.hru-order-number {
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-palette-color-3);
}

.hru-delivery-status {
    font-size: 16px;
    color: var(--theme-palette-color-1);
    font-weight: 500;
}

.hru-order-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hru-delivered-date {
    font-size: 14px;
    color: #666;
}

.hru-download-invoice {
    color: var(--theme-palette-color-1);
    text-decoration: none;
    font-size: 14px;
}

.hru-download-invoice:hover {
    text-decoration: underline;
}

.hru-write-review-btn,
.hru-track-order-btn {
    background: var(--theme-palette-color-1);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.hru-track-order-btn {
    background: var;
}

.hru-order-items {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.hru-order-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.hru-order-item:last-child {
    margin-bottom: 0;
}

.hru-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.hru-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.hru-item-details {
    flex: 1;
}

.hru-item-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--theme-palette-color-3);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.hru-item-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.hru-item-qty,
.hru-item-price {
    font-size: 14px;
    color: #666;
}

.hru-item-price {
    font-weight: 600;
    color: var(--theme-palette-color-3);
}

.hru-item-actions {
    display: flex;
    gap: 15px;
}

.hru-item-action {
    color: var(--theme-palette-color-3);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.hru-item-action:hover {
    text-decoration: underline;
}

.hru-delivery-info {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.hru-delivery-method h5,
.hru-shipping-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-palette-color-3);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hru-delivery-details {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.hru-delivery-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.hru-delivery-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-palette-color-3);
    display: block;
    margin-bottom: 4px;
}

.hru-delivery-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.hru-shipping-address {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.hru-no-orders {
    text-align: center;
    padding: 60px 20px;
}

.hru-no-orders p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.hru-browse-btn {
    background: var;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hru-browse-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hru-my-account-header {
        padding: 15px 20px;
    }

    .hru-my-account-content {
        flex-direction: column;
    }

    .hru-account-sidebar {
        width: 100%;
    }

    .hru-account-nav {
        display: flex;
        overflow-x: auto;
    }

    .hru-account-nav ul {
        display: flex;
        white-space: nowrap;
    }

    .hru-account-nav li {
        border-bottom: none;
        border-right: 1px solid #e0e0e0;
    }

    .hru-account-main {
        padding: 20px;
    }

    .hru-order-details {
        flex-direction: column;
        gap: 15px;
    }

    .hru-delivery-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hru-order-item {
        flex-direction: column;
        gap: 10px;
    }

    .hru-item-image {
        width: 60px;
        height: 60px;
    }
}

/* Order Progress Bar Styles */
.hru-order-progress {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
}

.hru-progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 0 auto;
}

.hru-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.hru-progress-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #dee2e6;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.hru-progress-step.active .hru-progress-icon {
    background: var(--theme-palette-color-1);
    border-color: var(--theme-palette-color-1);
    color: #ffffff;
}

.hru-progress-step.completed .hru-progress-icon {
    background: var(--theme-palette-color-3);
    border-color: var(--theme-palette-color-3);
}

.hru-progress-step.completed .hru-progress-icon::after {
    content: "✓";
    color: white;
    font-weight: bold;
    font-size: 14px;
    position: absolute;
}

.hru-progress-step.completed .hru-icon {
    display: none;
}

.hru-icon,
.hru-truck-icon {
    font-size: 18px;
    line-height: 1;
    font-family: "fontAwesome";
}

.hru-progress-label {
    font-size: 12px;
    font-weight: 500;
    color: #6c757d;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hru-progress-step.active .hru-progress-label {
    color: var(--theme-palette-color-1);
    font-weight: 600;
}

.hru-progress-step.completed .hru-progress-label {
    color: var(--theme-palette-color-3);
    font-weight: 600;
}

.hru-progress-connector {
    height: 2px;
    background: #dee2e6;
    flex: 1;
    margin: 0 10px;
    margin-bottom: 32px;
    transition: background-color 0.3s ease;
}

.hru-progress-connector.completed {
    background: var(--theme-palette-color-3);
}

/* Responsive adjustments for progress bar */
@media (max-width: 768px) {
    .hru-order-progress {
        padding: 15px;
    }

    .hru-progress-bar {
        max-width: 100%;
    }

    .hru-progress-icon {
        width: 35px;
        height: 35px;
    }

    .hru-icon {
        font-size: 16px;
    }

    .hru-progress-label {
        font-size: 11px;
    }

    .hru-progress-connector {
        margin: 0 5px;
        margin-bottom: 27px;
    }
}
