/* ================================== */
/* ----- Slider Breadcrumb ---------- */
/* ================================== */

/* ===== Banner Container ===== */
.breadcrumb-banner {
    width: 1320px;
    height: 280px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: url('/breadcrumb-background/user-breadcrumb3.jpg') no-repeat center center/cover;
}

/* ===== Gradient Overlay ===== */
.breadcrumb-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.92), rgba(0, 71, 171, 0.45));
    z-index: 1;
}

/* ===== Content Wrapper ===== */
.breadcrumb-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.breadcrumb-banner a{
    padding: 2px 8px;
    color: white;
    font-weight: bold;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 10px;
}

/* ===== Slider Text ===== */
.slider-text {
    font-size: 32px;
    font-weight: 600;
    transition: opacity 0.6s ease-in-out;
}

/* ================================== */
/* ----- Slider Breadcrumb End ------ */
/* ================================== */



/* ======USER Profile layout Main ========== */
.user-logo-header {
    text-align: -webkit-right;
}

/* USER DROPDOWN */
.user-profile-dropdown {
    position: relative;
    display: inline-block;
}

/* USER NAME LINK */
.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

/* FLOATING BOX */
.hover-dropdown-box {
    position: absolute;
    top: 120%;
    right: 0;
    width: 250px;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

/* SHOW ON HOVER */
.user-profile-dropdown:hover .hover-dropdown-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* DROPDOWN BUTTONS */
.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 14px;
    border-radius: 8px;

    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;

    transition: 0.3s ease;
}

/* HOVER EFFECT */
.dropdown-link:hover {
    transform: translateX(5px);
    color: #fff;
}

/* BUTTON COLORS */
.btn-success {
    background: #198754;
}

.btn-dark {
    background: #212529;
}

.btn-warning {
    background: #ffc107;
    color: #000 !important;
}

.btn-info {
    background: #0dcaf0;
}

.user-name-dropdown{
    text-align: left;
    padding: 0px 12px;
}

.usernames {
    border: 1px solid rgba(128, 128, 128, 0.199);
    border-radius: 9px;
    background: #25457098;
    padding: 6px;
    width: fit-content;
}

.usernames a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.user-profile-dropdown {
    position: relative;
}

/* User Icon */
.userIcon {
    font-size: 32px;
    color: #ffffff;
}

/* Username */
.spanuserName {
    font-size: 12px;
    font-weight: 500;
    color: white !important;
}

/* =================================== USER PROFILE =================================== */
/* -------------Top Banner ------------------ */
.main-profile-container {
    position: relative;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(0, 31, 63, 0.92), rgba(0, 71, 171, 0.45)),
        url('/breadcrumb-background/user-profile-bg-img.jpg') center center / cover no-repeat;
    padding: 45px 30px 25px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* Hover Effect */
.main-profile-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* Optional Glow Circle */
.main-profile-container::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -100px;
    right: -80px;
}

/* Profile Header */
.profile-main-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Profile Image */
.profile-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.9);
    background: #fff;
    padding: 4px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.25),
        0 0 0 8px rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

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

/* User Name */
.user-name-title {
    position: relative;
    padding: 16px 26px;
    border-radius: 16px;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    width: fit-content;
    backdrop-filter: blur(8px);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .main-profile-container {
        padding: 35px 20px 20px;
        text-align: center;
    }

    .profile-main-header {
        justify-content: center;
    }

    .profile-icon {
        width: 130px;
        height: 130px;
    }

    .user-name-title {
        font-size: 22px;
        padding: 12px 18px;
    }
}

/* ------------- Main Contait --------------- */
/* Modern Interactive Industrial Profile Card */
.profile-box {
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.profile-box:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.profile-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to right, #1565c0, #00acc1, #2e7d32);
}

/* Data Rows */
.data-row {
    padding: 14px 0;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.data-row:hover {
    background: #f8fbff;
    padding-left: 12px;
    border-radius: 8px;
}

.data-row:last-child {
    border-bottom: none;
}

/* Labels */
.data-row .label {
    flex: 0 0 160px;
    font-weight: 600;
    color: #455a64;
    font-size: 0.98rem;
}

/* Values */
.data-row .value {
    flex: 1;
    color: #1c2526;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Interactive Elements */
.copy-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: #1565c0;
    color: white;
    border-color: #1565c0;
}

/* Badges */
.badge {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Action Buttons */
.action-buttons .btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 4px 6px 4px 0;
}

.action-buttons .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-success { background: #2e7d32; border: none; }
.btn-dark    { background: #263238; border: none; }
.btn-warning { background: #f9a825; color: #263238; border: none; }
.btn-info    { background: #0277bd; border: none; }



/* ===================== USER DASHBOARD =============================== */
/* =========================================
   Profile Dashboard Card
========================================= */

.profile-dashboard-card{
    position: relative;
}


/* Profile Info */

.profile-short-info{
    margin: 18px 0 22px;
}

.profile-info-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.profile-info-item:last-child{
    border-bottom: none;
}


/* Labels */

.profile-info-item .info-label{
    font-size: 14px;
    font-weight: 600;
    color: #021526;
    white-space: nowrap;
}


/* Values */

.profile-info-item .info-value{
    font-size: 14px;
    color: #666;
    text-align: right;
    word-break: break-word;
}


/* Account Status */

.account-status{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.account-status.active{
    background: #e8fff1;
    color: #16a34a;
}
.user-dashboard {
    padding: 60px 0;
    background: #f4f7fb;
}

/* =========================================
   Activity Timeline
========================================= */

.activity-timeline{
    position: relative;
}

.activity-timeline::before{
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 2px;
    height: 100%;
    background: #d9e5f3;
}


/* =========================================
   Activity Item
========================================= */

.activity-item{
    position: relative;
    display: flex;
    gap: 22px;
    margin-top: 45px;
    margin-bottom: 28px;
    align-items: flex-start;
}

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

/* =========================================
   Activity Icon
========================================= */

.activity-icon{
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.activity-icon i{
    color: #fff;
    font-size: 17px;
}

.activity-icon.login{
    background: linear-gradient(135deg,#16a34a,#22c55e);
}

.activity-icon.rfq{
    background: linear-gradient(135deg,#0d6efd,#3b82f6);
}


/* =========================================
   Activity Card
========================================= */

.activity-card{
    flex: 1;
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid #e7eef7;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.activity-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

/* =========================================
   Activity Delete Button
========================================= */

.activity-delete-btn{
    border: none;
    outline: none;
    background: linear-gradient(135deg,#dc2626,#ef4444);
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.activity-delete-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220,38,38,0.25);
}
/* =========================================
   Card Top
========================================= */

.activity-card-top{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.activity-card-top h5{
    font-size: 22px;
    font-weight: 700;
    color: #021526;
    margin-bottom: 10px;
}

.activity-desc{
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}


/* =========================================
   Right Time
========================================= */

.activity-right-time{
    background: #eef5ff;
    color: #0d6efd;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================
   Bottom Tags
========================================= */

.activity-card-bottom{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.activity-tag{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5f9ff;
    color: #0d6efd;
    border: 1px solid #dce9ff;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.activity-tag i{
    font-size: 12px;
}


/* =========================================
   Responsive
========================================= */

@media(max-width:768px){

    .activity-item{
        gap: 15px;
    }

    .activity-icon{
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .activity-card{
        padding: 18px;
    }

    .activity-card-top h5{
        font-size: 18px;
    }

    .activity-desc{
        font-size: 14px;
    }

    .activity-right-time{
        padding: 8px 14px;
        font-size: 12px;
    }

}

/* ==== Welcome Section ========= */
.dashboard-welcome {
    background: linear-gradient(135deg, #021526, #03346e);
    border-radius: 20px;
    padding: 45px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.dashboard-welcome::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    top: -80px;
    right: -80px;
}

.dashboard-welcome h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.dashboard-welcome p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 0;
}

/* Buttons */
.dashboard-welcome .welcome-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #021526, #0d6efd);
    box-shadow: 0px 0px 3px 1px white;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* ======== Dashboard Cards =============== */

.dashboard-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #edf1f7;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Top Border Effect */

.dashboard-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #021526, #0d6efd);
}

/* Icon */
.dashboard-card .dashboard-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #021526, #0d6efd);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.dashboard-card .dashboard-icon i {
    font-size: 32px;
    color: #fff;
}

/* Card Content */
.dashboard-card h5 {
    font-size: 20px;
    font-weight: 600;
    color: #021526;
    margin-bottom: 12px;
}

.dashboard-card h2 {
    font-size: 42px;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 10px;
}

.dashboard-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Buttons */
.dashboard-card .dashboard-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #021526, #0d6efd);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dashboard-card .dashboard-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

/* ============== Last Login ===================== */

.last-login-info {
    margin-top: 18px;
}

.last-login-info span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    padding: 10px 18px;
    border-radius: 40px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.last-login-info i {
    font-size: 15px;
    color: #fff;
}

/* ========================== EDIT PROFILE PAGE =========================== */
.edit-passwords-main-content {
    border: 1px solid rgba(128, 128, 128, 0.336);
    padding: 25px;
    border-radius: 15px;
    background: white;
}
/* Profile Image Preview */
.profilePreview {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.profilePreview:hover {
    border-color: #2563eb;
    transform: scale(1.05);
}

/* Form Styling */
.form-label {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.form-control {
    border-radius: 10px;
    padding: 12px 16px;
    border: 1.5px solid #d1d5db;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    outline: none;
}

/* Alerts */
.alert {
    border-radius: 10px;
    padding: 14px 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #ecfdf5;
    color: #10b981;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

/* Submit Button */
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

#imageError {
    font-size: 0.9rem;
    font-weight: 500;
}

.profilePreview {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


/* Responsive */
@media (max-width: 768px) {
    .card-body.p-5 {
        padding: 1.8rem !important;
    }

    .profilePreview {
        width: 130px;
        height: 130px;
    }
}

/* ====================== CHANGE PASSWORD PAGE ====================== */

.slider-area {
    background: #f4f6f9;
    min-height: 100vh;
    margin-top: 20px;
    padding-bottom: 30px;
}

/* Main Card */
.card.shadow.border-0 {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden;
    max-width: 580px;
    margin: 0 auto;
}

.card-body.p-5 {
    padding: 2.8rem !important;
}

/* Title */
.card-body h3 {
    color: #1e40af;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.card-body h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, #2563eb, #60a5fa);
    border-radius: 3px;
}

/* Form Fields */
.mb-3, .mb-4 {
    position: relative;
}

.form-label {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.form-control {
    border-radius: 10px;
    padding: 14px 16px;
    border: 1.5px solid #d1d5db;
    transition: all 0.3s ease;
    padding-right: 45px; /* Space for eye icon */
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    outline: none;
}

/* Password Toggle Icon */
.password-toggle {
    position: absolute;
    right: 16px;
    top: 38px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6b7280;
    font-size: 1.1rem;
    z-index: 10;
}

.password-toggle:hover {
    color: #2563eb;
}

/* Alerts */
.alert {
    border-radius: 10px;
    padding: 14px 20px;
    font-weight: 500;
}

.alert-danger {
    background-color: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

/* Submit Button */
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

/* Extra Engagement - Password Strength */
#passwordStrength {
    height: 6px;
    border-radius: 10px;
    margin-top: 6px;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .card-body.p-5 {
        padding: 2rem !important;
    }
}


/* ====================== MY RFQs LIST PAGE ====================== */


/* Main RFQ Container */
.rfq-list-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    min-height: 500px;
}

/* Header */
.rfq-header {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 1.2rem;
}

.rfq-header h2 {
    color: #1e40af;
    font-weight: 700;
    font-size: 1.8rem;
}

.badge.bg-primary {
    background: #2563eb !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.02rem;
}

/* Table Styling */
.table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}



.table td {
    padding: 1.1rem 1rem;
    vertical-align: middle;
    color: #374151;
    border-top: 1px solid #f1f5f9;
}

.table tbody tr {
    transition: all 0.25s ease;
}

.table tbody tr:hover {
    background-color: #f0f9ff;
    transform: scale(1.005);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Action Buttons */
.btn-sm {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-success {
    background: #22c55e;
    border: none;
}

.btn-success:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.btn-danger {
    background: #ef4444;
    border: none;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* Badges */
.badge.bg-success { background: #22c55e !important; }
.badge.bg-danger  { background: #ef4444 !important; }

/* Empty State */
.table td[colspan="9"] {
    padding: 5rem 2rem;
    color: #6b7280;
    font-size: 1.1rem;
}

/* Pagination */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 4px;
    color: #1e40af;
}

.pagination .page-item.active .page-link {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .rfq-list-container {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .table th, .table td {
        padding: 0.9rem 0.6rem;
        font-size: 0.92rem;
    }
}


/* ====================== RFQ DETAILS / VIEW PAGE ====================== */


/* Header */
.rfq-view-header {
    background: #ffffff;
    padding: 1.4rem 2rem;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid #2563eb;
}

.rfq-view-header h2 {
    color: #1e40af;
    font-weight: 700;
    font-size: 1.85rem;
}

/* Main Card */
.rfq-view-card {
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Table */
.rfq-view-table {
    margin-bottom: 0;
}

.rfq-view-table td {
    padding: 1.1rem 1.8rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.rfq-view-table td:first-child {
    background: #f8fafc;
    width: 28%;
    font-weight: 600;
    color: #374151;
}

.rfq-view-table td:last-child {
    color: #1f2937;
    font-size: 1.05rem;
}

.rfq-view-table tr:last-child td {
    border-bottom: none;
}

/* Badges */
.badge.bg-success {
    background: #22c55e !important;
    padding: 8px 16px;
    font-size: 0.95rem;
}

.badge.bg-danger {
    background: #ef4444 !important;
    padding: 8px 16px;
    font-size: 0.95rem;
}

/* Back Button */
.btn-warning {
    background: #f59e0b;
    color: #1f2937;
    border: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-2px);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .rfq-view-card,
    .rfq-view-header {
        border-radius: 12px;
    }

    .rfq-view-table td {
        padding: 1rem 1.2rem;
    }

    .rfq-view-table td:first-child {
        width: 35%;
    }
}

/* ====================== CREATE NEW RFQ PAGE ====================== */

/* Header */
.rfq-create-header {
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.92), rgba(0, 71, 171, 0.45));
    padding: 1.6rem 2rem;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.rfq-create-header h2 {
    color: white;
    font-weight: 700;
    font-size: 1.85rem;
    margin: 0;
}

/* Form Container */
.rfq-create-form {
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form Labels */
.form-label {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

/* Form Inputs */
.form-control {
    border-radius: 10px;
    padding: 13px 16px;
    border: 1.5px solid #d1d5db;
    transition: all 0.3s ease;
    font-size: 1.02rem;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* Alerts */
.alert {
    border-radius: 10px;
    padding: 14px 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #ecfdf5;
    color: #10b981;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

/* Submit Button */
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .rfq-create-form {
        padding: 1.8rem;
    }

    .rfq-create-header {
        padding: 1.4rem 1.6rem;
    }
}

/* ======================Boostrap Predefine Colors ======================= */

/* Primary */
.btn-primary-custom {
    background-color: #0d6efd !important;
    color: #fff !important;
    border: 1px solid #0d6efd !important;
}

.btn-primary-custom:hover {
    background-color: #0b5ed7 !important;
    border-color: #0a58ca !important;
}

/* Secondary */
.btn-secondary-custom {
    background-color: #6c757d !important;
    color: #fff !important;
    border: 1px solid #6c757d !important;
}

.btn-secondary-custom:hover {
    background-color: #5c636a !important;
    border-color: #565e64 !important;
}

/* Success */
.btn-success-custom {
    background-color: #198754 !important;
    color: #fff !important;
    border: 1px solid #198754 !important;
}

.btn-success-custom:hover {
    background-color: #157347 !important;
    border-color: #146c43 !important;
}

/* Danger */
.btn-danger-custom {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: 1px solid #dc3545 !important;
}

.btn-danger-custom:hover {
    background-color: #bb2d3b !important;
    border-color: #b02a37 !important;
}

/* Warning */
.btn-warning-custom {
    background-color: #ffc107 !important;
    color: #000 !important;
    border: 1px solid #ffc107 !important;
}

.btn-warning-custom:hover {
    background-color: #ffca2c !important;
    border-color: #ffc720 !important;
}

/* Info */
.btn-info-custom {
    background-color: #0dcaf0 !important;
    color: #000 !important;
    border: 1px solid #0dcaf0 !important;
}

.btn-info-custom:hover {
    background-color: #31d2f2 !important;
    border-color: #25cff2 !important;
}

/* Dark */
.btn-dark-custom {
    background-color: #212529 !important;
    color: #fff !important;
    border: 1px solid #212529 !important;
}

.btn-dark-custom:hover {
    background-color: #1c1f23 !important;
    border-color: #1a1e21 !important;
}

/* Light */
.btn-light-custom {
    background-color: #f8f9fa !important;
    color: #000 !important;
    border: 1px solid #f8f9fa !important;
}

.btn-light-custom:hover {
    background-color: #d3d4d5 !important;
    border-color: #c6c7c8 !important;
}

a.btn.btn-Info.mt-3 {
    background: #39b6ff;
    color: white;
}
