.customer_panel {
    /* background-color: #fff5f5; */
    margin-top: 5px;
}

/* Sidebar Box */
.sidebar-custom {
    width: 100%;
    background: #fcfafa;
    border: 1px solid #f1f1f1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: calc(100vh - 56px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;

}

@media (max-width: 768px) {

    .sidebar-custom {

        width: 100%;
        height: auto;

        position: relative;
        top: unset;
        margin-bottom: 10px;
        overflow: visible;
    }
}

/* Heading */
.sidebar-heading {
    font-weight: 600;
    font-size: 17px;
    padding: 4px 12px;
    background: #fff8f8;
    border-bottom: 2px solid #e7e7e7;
}

/* Menu */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Links */
.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px;
    border-radius: 2px;
    border-left: 2px solid #dc262600;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    transition: 0.2s ease;
}

/* Hover */


/* Active */
.sidebar-menu li.active a,
.sidebar-menu li a:hover{
    background: #ffe07b3a;
    border-color: #F9A61C;
    color: #F9A61C;
    font-weight: 500;
}

/* Right Panel */
.right-panel-custom {
    background: #fcfafa;
    border-radius: 2px;
    /* padding: 4px 0px; */
    /* box-shadow: 0 8px 20px #e9ecef; */
    /* border: 1px solid #f1f1f1; */
}

/* Card container */
.profile-card {
    background: #ffffff;
    border-radius: 15px;
    margin: 0 auto;
}


/* Inputs */
.input-style {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 3px 12px;
    transition: all 0.3s;
}

.input-style:focus {
    border-color: #F9A61C;
    box-shadow: none;
}

/* Profile image preview */
.profile-preview {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    object-fit: cover;
    border: 1px solid #F9A61C;
    transition: transform 0.3s;
}

.profile-preview:hover {
    transform: scale(1.05);
}

/* Button */
.btn-update {
    background: #F9A61C;
    border: 1px solid #F9A61C !important;
    color: #fff;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    /* transition: all 0.3s ease; */
}

.btn-update:hover {
    background: #ffffff;
    color: #F9A61C;

}

.customer-name {
    font-size: 1.3rem;
    color: #F9A61C;
}

.profile-card small i {
    color: #F9A61C !important;
}

.profile-card hr {
    border-top: 1px solid #d1d5db;
}

.profile-card p {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.customer-address {
    font-size: 14px;

}

/* dashboard  */
.dashboard-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

@media(max-width:992px) {
    .dashboard-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:576px) {
    .dashboard-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dashboard-card {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #eef1f4;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: inherit;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    color: inherit;
    border: 1px solid #F9A61C;
}

.dashboard-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    transition: .3s;
}

.dashboard-card:hover::after {
    background: #F9A61C;

}

.dashboard-icon {
    width: 25px;
    height: 25px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: .3s;
}

.dashboard-card:hover .dashboard-icon {
    transform: scale(1.1);
}

.page-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 6px;
}

.page-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background: #F9A61C;
    border-radius: 5px;
}

.dashboard-value {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}

.dashboard-label {
    font-size: 11px;
    color: #9aa3af;
    /* margin-top: 2px; */
}

.ico-profile {
    background: #eef6ff;
    color: #2563eb;
}

.ico-pass {
    background: #ecfdf5;
    color: #04bb04;
}

.ico-cart {
    background: #fff7ed;
    color: #ea580c;
}

.ico-order {
    background: #f5f3ff;
    color: #7c3aed;
}

.ico-logout {
    background: #fef2f2;
    color: #dc2626;
}

.dashboard-card.active {
    border-color: #F9A61C;
    background: #f5f9ff;
}

.dashboard-card.active::after {
    background: #F9A61C;
}

@media(max-width:576px) {

    .dashboard-card {
        padding: 3px 8px;
        gap: 10px;
    }

    .dashboard-value {
        font-size: 14px;
    }

    .dashboard-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* dashboard end  */
/* customer login / register  */
/* Center the login section */
.auth-page {
    background: #fcfafa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 0;
}

.auth-section {
    display: flex;
    justify-content: center;
    gap: 18px;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .auth-section {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        padding: 0 15px;
    }
}

.auth-card {

    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 20px 25px;
    text-align: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card h5 {
    margin-bottom: 15px;
    color: #333;
}

/* Form group spacing */
.auth-card .form-group {
    margin-bottom: 12px;
    text-align: left;
}

/* Labels */
.auth-card label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    color: #555;
}

/* Inputs */
.auth-card input.form-control {
    width: 100%;
    padding: 5px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.auth-card input.form-control:focus {
    border-color: #F9A61C;
    outline: none;
    box-shadow: 0 0 5px rgba(34, 201, 1, 0.1);
}

.auth-card .authbtn {
    width: 100%;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    background: #F9A61C;
    color: #fff;
    border: none;
    transition: background 0.3s ease;
}

.auth-card .authbtn:hover,
.auth-card .authbtn:focus {
    background: #F9A61C;
    box-shadow: none;

}

/* Register link */
.auth-card .register-link {
    margin-top: 15px;
    font-size: 14px;
}

.auth-card .register-link a {
    color: #F9A61C;
    text-decoration: none;
}

.auth-card .register-link a:hover {
    text-decoration: underline;
}

/* login */
.custom-btn {
    padding: 4px 4px !important;
    font-size: 10px;
    border-radius: 3px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
}

.custom-btn:hover,
.custom-btn:focus {
    transform: none;
    box-shadow: none;
}
