/* 
 * Premium User Dashboard CSS
 * Adds a modern, glassmorphic, and clean UI to the Customer Account section.
 */

/* Main Section */
.customer-section {
    padding: 50px 0;
    background-color: #fcfdfd;
}

/* Sidebar Wrapper */
.customer-sidebar {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.03);
}

/* User Auth Area in Sidebar */
.customer-auth {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 15px;
}

.customer-img {
    margin-bottom: 12px;
}

.customer-img img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(255, 103, 0, 0.15);
    transition: transform 0.3s ease;
}

.customer-img img:hover {
    transform: scale(1.05);
}

.customer-name p {
    margin: 0;
}

.customer-name p small {
    color: #8b95a5;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.customer-name p:last-child {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin-top: 4px;
}

/* Sidebar Menu */
.sidebar-menu {
    background: transparent;
    margin: 0;
    padding: 0;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu ul li {
    margin-bottom: 8px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sidebar-menu li a i {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.sidebar-menu li a:hover {
    background-color: #fff4ed; /* Very light orange/brand color */
    color: #ff6700;
    transform: translateX(4px);
}

.sidebar-menu li a:hover i {
    color: #ff6700;
}

.sidebar-menu li a.active {
    background-color: #ff6700;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 103, 0, 0.25);
}

.sidebar-menu li a.active i {
    color: #ffffff;
}

/* Content Area */
.customer-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    padding: 35px 40px;
    border: 1px solid rgba(0,0,0,0.03);
    min-height: 100%;
}

.account-title {
    margin-bottom: 25px;
    font-size: 22px;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 12px;
    text-align: left;
    font-weight: 800;
    color: #0f172a;
    position: relative;
}

.account-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: #ff6700;
}

/* Tables in Content Area */
.customer-content .table {
    border-collapse: separate;
    border-spacing: 0 8px;
    border: none;
}

.customer-content .table tr {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.customer-content .table tr:hover {
    background-color: #f8fafc;
    border-radius: 8px;
}

.customer-content .table td {
    border: none;
    padding: 16px 20px;
    vertical-align: middle;
    color: #334155;
    font-weight: 500;
}

.customer-content .table td:first-child {
    color: #64748b;
    font-weight: 600;
    width: 30%;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.customer-content .table td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.backend_img {
    height: 70px;
    width: 70px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Forms in Content Area */
.customer-content .form-group label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.customer-content .form-control {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 12px 16px;
    transition: all 0.2s;
    box-shadow: none;
}

.customer-content .form-control:focus {
    border-color: #ff6700;
    box-shadow: 0 0 0 3px rgba(255, 103, 0, 0.15);
}

.customer-content .btn-primary {
    background: #ff6700;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 103, 0, 0.3);
    transition: all 0.3s;
}

.customer-content .btn-primary:hover {
    background: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 103, 0, 0.4);
}

/* Order Success Page */
.success-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    padding: 40px;
    margin-bottom: 25px;
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
}

.success-img img {
    max-width: 150px;
    margin-bottom: 20px;
}

.success-title h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.5;
    margin-bottom: 30px;
}

.order-details-wrapper {
    background: #fafafa;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    margin-bottom: 20px;
    border: 1px dashed #cbd5e1;
}

.order-details-wrapper h5 {
    font-weight: 700;
    color: #334155;
    margin-bottom: 15px;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn-invoice {
    background: #475569;
    color: #fff;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
}

.btn-invoice:hover {
    background: #334155;
    color: #fff;
    transform: translateY(-2px);
}

.btn-download-png {
    background: #ff6700;
    color: #fff;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.btn-download-png:hover {
    background: #e65c00;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .customer-content {
        padding: 20px;
    }
    .customer-section {
        padding: 30px 0;
    }
    .success-actions {
        flex-direction: column;
    }
}

