/* My Account Page Styles */

/* Order History and Order Tracking Styles */
.orders-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.orders-card .top-sec {
    margin-bottom: 20px;
}

.orders-card .top-sec h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 0;
}

.table-bottom-brd {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.order-table {
    margin-bottom: 0;
}

.order-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    color: #212529;
    border-bottom: 2px solid #dee2e6;
}

.order-table td {
    vertical-align: middle;
    padding: 15px 10px;
}

.order-table .id {
    font-weight: 600;
    color: #212529;
}

.order-table .name {
    color: #212529;
}

.order-table .price {
    font-weight: 600;
    color: #6eb356;
}

.order-table .view i {
    color: #6eb356;
    font-size: 18px;
}

.custom-badge {
    padding: 8px 12px;
    font-weight: 500;
}

/* Order Tracking Styles */
.orderstracking-from {
    margin-bottom: 30px;
}

.orderstracking-from p {
    font-size: 14px;
    color: #6c757d;
}

.tracking-detail ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tracking-detail ul li {
    display: flex;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 10px;
}

.tracking-detail ul li .left {
    width: 40%;
    text-transform: capitalize;
    font-weight: 600;
}

.tracking-detail ul li .right {
    width: 60%;
}

.tracking-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
}

.tracking-steps:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e5e5;
    transform: translateY(-50%);
    z-index: 0;
}

.tracking-steps .step {
    position: relative;
    width: 25%;
    text-align: center;
    z-index: 1;
}

.tracking-steps .step:before {
    content: "";
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 50%;
    display: block;
    margin: 0 auto 10px;
}

.tracking-steps .step.done:before {
    background: #28a745;
    border-color: #28a745;
}

.tracking-steps .step.current:before {
    border-color: #007bff;
    background: #fff;
}

.tracking-steps .step span {
    display: block;
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    font-weight: 600;
}

.tracking-steps .step.done span {
    color: #28a745;
}

.tracking-steps .step.current span {
    color: #007bff;
}

/* General Styles */
.account-page {
    background-color: #f8f9fa;
}

.page-header {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-bottom: 30px;
}

.page-title h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
}

.breadcrumbs {
    font-size: 14px;
}

.breadcrumbs a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumbs .title, .breadcrumbs .main-title {
    margin: 0 5px;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.profile-top {
    padding: 20px 0;
    text-align: center;
}

.profile-image {
    margin-bottom: 15px;
}

.profile-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-detail h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.profile-detail p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

.dashboard-tab .nav-tabs {
    border: none;
}

.dashboard-tab .nav-link {
    color: #212529;
    padding: 12px 20px;
    border: none;
    border-left: 3px solid transparent;
    border-radius: 0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dashboard-tab .nav-link:hover,
.dashboard-tab .nav-link.active {
    background-color: #f8f9fa;
    border-left: 3px solid #6eb356;
    color: #6eb356;
}

/* Dashboard Content */
.dashboard-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    min-height: 600px;
}

.welcome-msg h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.welcome-msg p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 30px;
}

/* Counter Boxes */
.counter-box .bg-block {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
}

.counter-box img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.counter-box .content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #6eb356;
}

.counter-box .content p {
    font-size: 14px;
    margin-bottom: 0;
    color: #6c757d;
}

/* Account Box */
.account-box {
    margin-top: 30px;
}

.account-box h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.box-info {
    margin-bottom: 20px;
}

.box-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.box-title h4 {
    font-size: 16px;
    margin-bottom: 0;
}

.box-title a {
    font-size: 14px;
    color: #6eb356;
    text-decoration: none;
}

.box-content h5 {
    font-size: 15px;
    margin-bottom: 10px;
}

.box-content p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.box-content a {
    font-size: 14px;
    color: #6eb356;
    text-decoration: none;
}

/* Address Book */
.address-book-section {
    margin-top: 30px;
}

.address-select-box {
    margin-bottom: 20px;
}

.address-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    position: relative;
}

.address-box.active {
    border: 2px solid #6eb356;
}

.address-box .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.address-box .top h5 {
    font-size: 16px;
    margin-bottom: 0;
}

.address-box .middle {
    margin-bottom: 20px;
}

.address-box .middle .address {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}

.address-box .middle .number {
    font-size: 14px;
}

.address-box .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.address-box .bottom .btn {
    font-size: 14px;
    padding: 5px 15px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .dashboard-sidebar {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .counter-box .bg-block {
        flex-direction: column;
        text-align: center;
    }

    .counter-box img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
