* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }


        .hero-content h3 {
            padding-bottom: 1rem;
              font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
        }

        body {
          
              font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
            line-height: 1.6;
            color: var(--dark);
            background: var(--light);
            overflow-x: hidden;
        }

        /* Ensure body/html allow scrolling */
html, body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
     background-color: rgba(0, 95, 140, 0.05);
    
}

/* Updated Hero Styles */
 .hero {
    background: linear-gradient(135deg, #005f8c 0%, #003d5c 100%);
    color: white;
    padding: 3rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    will-change: transform, height;
}

.hero.minimized {
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    border: none;
    transition: all 0.3s ease;
}

/* Ensure minimized state persists */
.hero.minimized .hero-content,
.hero.minimized .hero-cards {
    display: none !important;
}
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
  }
  
  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
  }
  
  .hero-headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .hero-subtitle {
      font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    line-height: 1.6;
  }
  
  .hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
  }
  
  .hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.15);
  }
  
  .hero-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
  }
  
  .hero-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
  }
  
  .hero-card ul {
    list-style: none;
    margin-bottom: 2rem;
  }
  
  .hero-card li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00d4aa;
    font-weight: bold;
  }
  
  .hero-cta {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent white like card background */
    color: white; /* White text for better contrast */
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.3); /* Slightly more opaque on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: white; /* Maintain white text on hover */
}
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .hero {
      padding: 5rem 1.5rem 3rem;
    }
    
    .hero-headline {
      font-size: 2.25rem;
    }
    
    .hero-subtitle {
      font-size: 1.1rem;
    }
    
    .hero-cards {
      grid-template-columns: 1fr;
    }
  }


/* Main content container */
main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    position: relative; /* This creates a stacking context */
}

/* Add to your pm_styles.css */
#photoUploadModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 2000;
}

#photoUploadModal .modal-content {
    background: white;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}
   /* Photo Upload Modal Styles */
#photoUploadModal .modal-content {
    max-width: 600px;
}

#photoUploadForm {
    padding: 20px;
}

#progressBar {
    width: 100%;
    height: 20px;
    margin-top: 10px;
}

#uploadResult {
    margin-top: 15px;
}

.alert {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}     
        /* Seller Dashboard Modal Styles */
/* Add this to your external CSS */
#sellerDashboardModal .machine-item .btn-edit,
#sellerDashboardModal .machine-item button.btn-edit {
    background-color: #007bff !important;
    color: white !important;
}

#sellerDashboardModal .machine-item .btn-edit:hover,
#sellerDashboardModal .machine-item button.btn-edit:hover {
    background-color: #0056b3 !important;
}

#sellerDashboardModal .machine-item .btn-photos,
#sellerDashboardModal .machine-item button.btn-photos {
    background-color: #4da6ff !important;
    color: white !important;
}

#sellerDashboardModal .machine-item .btn-photos:hover,
#sellerDashboardModal .machine-item button.btn-photos:hover {
    background-color: #3d8bdb !important;
}

#sellerDashboardModal .machine-item .btn-delete,
#sellerDashboardModal .machine-item button.btn-delete {
    background-color: #dc3545 !important;
    color: white !important;
}

#sellerDashboardModal .machine-item .btn-delete:hover,
#sellerDashboardModal .machine-item button.btn-delete:hover {
    background-color: #c82333 !important;
}
#sellerDashboardModal input[type="text"],
#sellerDashboardModal input[type="number"],
#sellerDashboardModal textarea,
#sellerDashboardModal select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

#sellerDashboardModal textarea {
    min-height: 80px;
    resize: vertical;
}
        /* Gradient button styles */
.gradient-btn {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gradient-btn:hover {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.gradient-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
#sellerDashboardModal .modal-content {
    max-width: 800px;
    width: 95%;
}

#sellerDashboardModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}
.drop-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.drop-area.highlight {
    border-color: #007bff;
    background-color: #f0f8ff;
}

.drop-instructions {
    margin-bottom: 15px;
}

.file-list {
    margin-top: 15px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.file-item:last-child {
    border-bottom: none;
}
/* Add to pm_styles.css */
.machine-header h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.seller-contact {
    margin-bottom: 20px;
}

.seller-contact h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.seller-detail {
    margin-bottom: 10px;
    line-height: 1.6;
}

.seller-detail strong {
    color: #333;
    display: inline-block;
    min-width: 80px;
}

.separator {
    height: 1px;
    background-color: #eee;
    margin: 20px 0;
}

.machine-details h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.machine-description {
    line-height: 1.6;
    color: #333;
}

.no-seller-info {
    text-align: center;
    padding: 15px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}
.machines-list {
    max-height: 50vh;
    overflow-y: auto;
}

.machine-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    transition: box-shadow 0.2s;
}

.machine-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.machine-item strong {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
    display: block;
}

.machine-item .machine-model {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.machine-item .machine-details {
    color: #888;
    font-size: 12px;
}



.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #1e7e34;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* Dashboard header styles */
#sellerDashboardModal h3 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Empty state styles */
.empty-state {
    text-align: center;
    color: #666;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.empty-state p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Responsive design */
@media (max-width: 768px) {
    #sellerDashboardModal .modal-content {
        width: 98%;
        margin: 5% auto;
    }
    
    .machine-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .machine-item .btn {
        align-self: flex-end;
    }
}

        /* Modern Navigation */
        :root {
            --primary: #ff6b35;
            --secondary: #0077b3;
            --dark: #2c3e50;
            --light: #f8f9fa;
            --gradient: linear-gradient(135deg, #ff6b35 0%, #0077b3 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            background: #f5f5f5;
            padding-top: 80px; /* Account for fixed navbar */
        }

        /* Modern Professional Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
            z-index: 1000;
            transition: all 0.3s ease;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }
/* Enhanced Navigation Links - More Prominent Version */
       /* Professional Navigation Links */
        .nav-links {
            display: flex;
            gap: 0.5rem;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
            padding: 0.8rem 1.2rem;
            border-radius: 8px;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border: 1px solid rgba(0, 0, 0, 0.08);
            text-transform: uppercase;
            letter-spacing: 0.3px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }

        .nav-links a:hover {
            color: white;
            background: linear-gradient(135deg, var(--secondary) 0%, #005f8c 100%);
            border: 1px solid var(--secondary);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 119, 179, 0.3);
        }

        /* Special Newsletter Button */
        .nav-links a[onclick*="openNewsletterModal"] {
            background: linear-gradient(135deg, var(--primary) 0%, #e55a2b 100%);
            color: white;
            font-weight: 700;
            animation: subtle-pulse 3s infinite;
        }

        .nav-links a[onclick*="openNewsletterModal"]:hover {
            background: linear-gradient(135deg, #e55a2b 0%, var(--primary) 100%);
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
        }

        /* Subtle pulse animation */
        @keyframes subtle-pulse {
            0%, 100% { box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3); }
            50% { box-shadow: 0 2px 15px rgba(255, 107, 53, 0.5); }
        }
          /* Mobile Styles - Stack at 980px */
        @media (max-width: 1080px) {
            body {
                padding-top: 200px; /* Increased padding for mobile stacked nav */
            }
            .nav-container {
                padding-bottom: .5rem;
                flex-direction: column;
                gap: 1rem;
            }

            .logo {
                display: none; /* Hide logo text on mobile */
            }

            .nav-links {
                display: flex !important;
                flex-direction: column !important;
                gap: .9rem;
                width: 100%;
                align-items: center;
            }

            .nav-links li {
                width: 100%;
                max-width: 300px;
                display: flex;
                justify-content: center;
            }

            .nav-links a {
                width: 100%;
                text-align: center;
                padding: 1rem;
                font-size: .9rem;
                margin: 0.10rem 0;
            }
        }



        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        @keyframes shimmer {
            0% {
                left: -100%;
            }
            100% {
                left: 100%;
            }
        }


        
        

        /* Filters */
 /* Add this to your pm_styles.css */
.filters {
    border: 1px solid rgba(0, 95, 140, 0.15); /* Subtle blue border matching background */
    background: white; /* Solid white background */
    position: sticky;
    top: 80px;
    z-index: 100;
    padding: 1rem 2rem;
    margin: 0 auto 2rem;
    max-width: 1200px;
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
        transition: all 0.3s ease;
}

/* Adjust for mobile */
@media (max-width: 768px) {
 
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px; /* Add more space between filter fields */
    }
    
    .filter-group, .search-group {
        min-width: auto;
        width: 100%;
    }
    
    /* Make sure all filter fields are visible */
    .filter-select, .search-box {
        width: 100%;
        font-size: 16px;
        padding: 12px;
    }
    
  
    /* Adjust filters position when hero is minimized */
    .hero.minimized + .filters {
        padding-top: 20px; /* Add extra padding when hero is minimized */
    }
    
    /* Make sure filters stay visible */
    .filters {
        top: 60px !important; /* Lower position for mobile */
        padding-top: 10px;
    }
    
    /* Prevent hero from reappearing too soon */
    .hero:not(.minimized) {
        min-height: 300px; /* Ensure hero has enough height */
    }
}


/* Ensure the border works with the sticky behavior */
.filters.sticky {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


        .filter-row {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            align-items: center;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            min-width: 200px;
        }

        .filter-group label {
            font-weight: 400;
            color: var(--gray);
            font-size: 0.9rem;
        }

        .filter-select {
            padding: 0.75rem;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--primary);
        }

        /* Search Group Styles */
        .search-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            min-width: 300px;
        }

        .search-container {
            position: relative;
        }

        .search-box {
            width: 100%;
            padding: 0.75rem 3rem 0.75rem 1rem;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
            outline: none;
        }

        .search-box:focus {
            border-color: var(--primary);
        }

        .search-btn {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--secondary);
            border: none;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
        }

        .search-btn:hover {
            transform: translateY(-50%) scale(1.1);
        }

        /* Responsive adjustments */
     /* When filters become sticky, we can make them more compact */
.filters.sticky {
    padding: 0.75rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .filters {
        top: 60px; /* Smaller offset for mobile */
        padding: 0.75rem;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group, .search-group {
        min-width: auto;
        width: 100%;
    }
}


.card-header {
          
            background: black;
            color: white;
    padding: 4px;
    text-align: center;
    position: relative;
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
        }

        .equipment-brand{
            font-size: .9rem;
              font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 75;
            color: var(--light,);
            margin-bottom: 0.1rem;
        }

        .equipment-model{
            font-size: .9rem;
            color: var(--cyan,);
            font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 75;
            
        }

        .card-body {
            padding: 0rem;
        }

        .equipment-image {
            width: 100%;
          
            object-fit: cover;
            border-radius: 0px;
            margin-bottom: 0rem;
        }

        .equipment-location {
            
            color: grey;
            padding: 0px;
            border-radius: 20px;
            font-size: 1.0rem;
            font-weight: 400;
            margin-bottom: 0rem;
        }

        .equipment-price {
            padding: 0px 0px 0px 0px;
          margin:0;
          width: 100%;
          background-color: hsl(0,0%,95%);;
          color: hsl(0,0%,5%);
          font-size: 1.2rem;
          font-weight: 400;

        }

        .equipment-status {
            background: #fef3c7;
            color: #92400e;
            padding: 0.5rem 1rem;
            border-radius: 10px;
            font-size: 0.9rem;
            font-weight: 400;
            margin-bottom: 1rem;
            display: inline-block;
        }

    .contact-btn {
    width: 100%;
    padding: 0.3rem; /* Reduced from 0.75rem (less space above/below) */
    background: rgba(0, 95, 140, 0.7); /* Semi-transparent dark blue */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem; /* Slightly smaller font */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0; /* Ensure no extra margin */
    line-height: 1.2; /* Tighter line spacing */
}

.contact-btn:hover {
    background: rgba(0, 95, 140, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Subtler shadow */
}
        /* Equipment Grid */
/* Full-width background 
.equipment-backgrounds {
  background-color: rgba(0, 95, 140, 0.05);
  width: 100%;
  padding: 40px 0;
  margin-top: -1px;
}

 Centered 90% container */
/* Filter dropdown default options */
/* Make ALL "All" options red in the dropdown list */
/* Style "All" options in the dropdown list */
.filter-select option.all-option {
    color: orangered !important;
   font-weight: 400 !important;
}

/* Style the SELECTED "All" option (when dropdown is closed) */
.filter-select:invalid, /* When "All" is selected */
.filter-select option.all-option:checked {
    color: orangered !important;
    font-weight: 400 !important;
}

/* Reset other options to default */
.filter-select option:not(.all-option) {
    color: black;
    font-weight: 400;
}

/* Equipment Grid */
/* Equipment Grid */
.equipment-grid {
  width: 90%;
  max-width: 2400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px)); /* Fixed column width */
  justify-content: center; /* This centers the columns */
  gap: 30px;
  padding-bottom: 80px;
}

/* Card styling */
.equipment-card {
  width: 260px; /* Fixed width */
  border: 1px solid #ccc;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-body {
    position: relative;
    height: 100%;
}

.equipment-image {
    width: 100%;
    height: auto;
    transition: opacity .35s ease;
}

/* Price and location styling 
.equipment-price-location {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    padding: 8px 5px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
}

.equipment-price {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.equipment-location {
    font-size: 0.8rem;
    display: block;
}*/

/* Icons container */
.photo-icons-container {
    position: absolute;
    width: 100%;
    top: 40px; /* Adjusted to 70px to make room for special offer */
    left: 0;
    z-index: 2;
}

.photo-icons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    opacity: 0;
    transition: opacity .35s ease;
    padding-bottom: 25px; /* Added space for special offer */
}

/* Special offer styling */
.special-offer {
    position: absolute;
    top: 40px; /* Position below the icons */
    left: 0;
    width: 100%;
    color: #fff;
    background: rgba(226, 8, 8, 0.75);
    backdrop-filter: blur(2px);
    line-height: 1.2;
    font-family: "Roboto", sans-serif;
    font-size: .7rem;
    padding: 6px 0;
    transform: translateY(10px);
    opacity: 0;
    transition: all .35s ease;
    pointer-events: none;
    margin-top: 5px; /* Added space between icons and offer */
}

/* Hover effects */
.equipment-card:hover .photo-icons {
    opacity: 1;
}

.equipment-card:hover .special-offer {
    opacity: 1;
    transform: translateY(0);
}

.equipment-card:hover img:not(.photo-icons img) {
    opacity: 0.3;
}

/* Icon styling */
.photo-icons img {
    max-width: 40px;
    max-height: 40px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.photo-icons img:hover {
    transform: scale(1.1);
}

.photo-icons img:active {
    transform: scale(0.95);
}

/* Badge styling */
.eoi-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #000;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
}

.motm-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #28a745;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 1;
}
        .eoi-badge {
            background: #10b981;
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 400;
            display: inline-block;
            margin-bottom: 1rem;
        }

        /* Loading Animation */
        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 4rem;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 3px solid #e2e8f0;
            border-top: 3px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Error message styling */
        .error-message {
            text-align: center;
            padding: 4rem;
            color: #ef4444;
        }

        .no-results {
            text-align: center;
            padding: 4rem;
            color: #64748b;
        }



        /* Modern Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }
         /* Photo Carousel Modal Styles */
                /* Photo Modal Styles - Remove excess whitespace */
         /* Photo Modal Styles - Remove excess whitespace */
               /* Photo Modal Styles - Remove excess whitespace */
           /* Photo Modal Styles - Remove excess whitespace */
        /* Photo Modal Styles - Thumbnails moved below image */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.photo-modal.show {
    display: flex;
}

.photo-modal-content {
    position: relative;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 8px;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.photo-modal-header {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.photo-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.photo-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.photo-close:hover {
    opacity: 0.7;
}

.carousel-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 20px;
    min-height: 400px;
}

/* Image container to hold main image and navigation */
.carousel-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px; /* Space between image and thumbnails */
}

.carousel-image {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    display: block;
    margin: 0;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 1001;
    border-radius: 5px;
}

.carousel-nav:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.9);
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-counter {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-align: center;
    margin-bottom: 15px; /* Space between counter and thumbnails */
}

/* Thumbnails positioned below the image, without grey background */
.carousel-thumbnails {
    display: flex;
    gap: 6px;
    max-width: 100%;
    overflow: hidden; /* Remove scrollbar */
    padding: 0; /* Removed padding */
    /* background: rgba(0, 0, 0, 0.6); - REMOVED grey background */
    /* border-radius: 8px; - REMOVED rounded background */
    flex-wrap: wrap; /* Allow wrapping to fit more thumbnails */
    justify-content: center;
    margin-top: 10px; /* Add some space from counter */
}

.carousel-thumbnail {
    width: 50px; /* Smaller size to fit more without scrolling */
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.2s ease; /* Smooth hover transition */
}

.carousel-thumbnail.active {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.5); /* Add glow effect */
}

.carousel-thumbnail:hover {
    border-color: #2980b9;
    transform: scale(1.05); /* Slight zoom on hover */
}
.carousel-loading,
.carousel-no-images,
.carousel-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    height: 100%;
}

.carousel-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 560px) {
  .equipment-grid {
    max-width: 260px; /* Single column on smallest screens */
  }
}
/* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            
            .filter-row {
                flex-direction: column;
            }
            
            .filter-group {
                width: 100%;
            }
            
            .equipment-grid {
  
 
    grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
    width: 95%;
    max-width: 540px; /* Allows for 2 cards with gap */
  }
  
  
  .equipment-card {
    max-width: 100%;
  }
      
/* Mobile responsiveness */

    .photo-modal-content {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .carousel-container {
        padding: 15px;
        min-height: 300px;
    }
    
    .carousel-image {
        max-height: 50vh;
    }
    
    .carousel-nav {
        font-size: 18px;
        padding: 8px 12px;
    }
    
    .carousel-prev {
        left: 8px;
    }
    
    .carousel-next {
        right: 8px;
    }
    
/* Mobile responsiveness */

    .carousel-thumbnails {
        gap: 4px;
        padding: 0;
    }
    
    .carousel-thumbnail {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }
    /* Responsive modal */

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 15px;
    }
                /* Modal specific styles */
    .modal-body {
    max-height: 500px;
    overflow-y: auto;
            }
    
    .close {
        right: 15px;
        top: 10px;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    #sellerRegistrationModal .form-control {
        padding: 10px;
        font-size: 15px;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-input, .form-textarea {
        padding: 10px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .video-modal-header {
        padding: 15px;
    }
    
    .video-modal-title {
        font-size: 1.3rem;
    }
    
    .video-content {
        padding: 15px;
        min-height: 300px;
    }
    
    .video-container {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 98%;
        margin: 10px auto;
    }
    
    .video-content {
        min-height: 250px;
    }
}

 @media (max-width: 768px) {
                .machine-item {
                    flex-direction: column !important;
                    align-items: stretch !important;
                    gap: 10px !important;
                }
                
                .button-group {
                    justify-content: center !important;
                }
                
                .btn {
                    flex: 1 !important;
                    min-width: 70px !important;
                }
            }

/* Add to pm_styles.css */
.machine-details {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.machine-details h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.machine-description {
    line-height: 1.6;
    color: #333;
}

.seller-contact {
    padding-top: 20px;
}

.seller-contact h3 {
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.seller-detail {
    margin-bottom: 12px;
    line-height: 1.6;
}

.seller-detail strong {
    color: #333;
    display: inline-block;
    min-width: 80px;
}

.no-seller-info {
    text-align: center;
    padding: 20px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
}
 /* Modal Styles */
 


#detailsContent {
    margin-top: 20px;
    line-height: 1.6;
}

#detailsContent p {
    margin-bottom: 15px;
}

#detailsContent strong {
    color: #333;
    font-size: 1.1rem;
}

.modal .loading {
    text-align: center;
    padding: 40px 20px;
}

.modal .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.modal .error-message {
    text-align: center;
    padding: 20px;
    color: #e74c3c;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




/* Contact Form Styles */
.contact-form-container {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    flex: 0 0 100%;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #005f8c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 95, 140, 0.2);
}

/* Specific styles for phone input */
.phone-input {
    min-width: 100%; /* Ensure phone input takes full width */
}

.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    min-height: 120px;
    resize: vertical;
    transition: border-color 0.3s;
}

.form-textarea:focus {
    border-color: #005f8c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 95, 140, 0.2);
}

/* Force all form inputs to same styling */
#sellerRegistrationModal input:not([type="checkbox"]):not([type="radio"]),
#sellerRegistrationModal select,
#sellerRegistrationModal textarea {
    width: 100% !important;
    padding: 12px !important;
    font-size: 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    margin-bottom: 10px;
}

/* Seller Registration Form Styles */
#sellerRegistrationModal .form-control {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.3s;
    box-sizing: border-box; /* Include padding in width calculation */
}
/* Add to your pm_styles.css */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    color: #333;
}

#sellerRegistrationModal .form-control:focus {
    border-color: #005f8c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 95, 140, 0.2);
}

/* Make sure email field matches others */
#sellerRegistrationModal input[readonly] {
    background-color: #f8f9fa;
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

/* Password fields specific styling */
#sellerRegistrationModal input[type="password"] {
    letter-spacing: 1px; /* Makes password dots more visible */
}



.contact-form-container h2 {
    color: var(--primary, #2c3e50);
    margin-bottom: 0.5rem;
    text-align: center;
}

.equipment-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: var(--primary, #2c3e50);
    text-align: center;
}

/* Form Layout */



/* Video Modal Styles - Add this to your pm_styles.css file */

.video-modal {
    z-index: 2000;
}

.video-modal-content {
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.video-modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 400;
    color: #333;
}

.video-close {
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 0;
    margin: 0;
}

.video-close:hover {
    color: #333;
}

.video-content {
    padding: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.youtube-video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.video-loading {
    text-align: center;
    color: #666;
}

.video-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.video-error {
    text-align: center;
    color: #666;
    padding: 40px 20px;
}

.video-error h3 {
    color: #dc3545;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.video-error p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.error-details {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}



/* Animation for spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

            .dashboard-summary {
                background: #f8f9fa;
                padding: 15px;
                border-radius: 5px;
                margin-bottom: 20px;
                border-left: 4px solid #007bff;
            }
            
            .machines-container {
                max-height: 400px;
                overflow-y: auto;
                padding: 10px 0;
            }
            
            .machine-item {
                display: flex !important;
                justify-content: space-between !important;
                align-items: center !important;
                padding: 12px 15px !important;
                margin-bottom: 10px !important;
                border: 1px solid #ddd !important;
                border-radius: 6px !important;
                background: #fff !important;
                box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
            }
            
            .machine-name {
                font-size: 16px !important;
                font-weight: 500 !important;
                color: #333 !important;
                margin: 0 !important;
                flex-grow: 1 !important;
            }
            
            .button-group {
                display: flex !important;
                gap: 8px !important;
                flex-shrink: 0 !important;
            }
            
            .machine-item .btn {
                padding: 6px 12px !important;
                font-size: 13px !important;
                border-radius: 4px !important;
                cursor: pointer !important;
                border: none !important;
                transition: background-color 0.2s !important;
                white-space: nowrap !important;
            }
            
            .machine-item .btn-edit,
            .machine-item button.btn-edit {
                background-color: #007bff !important;
                background: #007bff !important;
                color: white !important;
            }
            
            .machine-item .btn-edit:hover,
            .machine-item button.btn-edit:hover {
                background-color: #0056b3 !important;
                background: #0056b3 !important;
            }
            
            .machine-item .btn-photos,
            .machine-item button.btn-photos {
                background-color: #4da6ff !important;
                background: #4da6ff !important;
                color: white !important;
            }
            
            .machine-item .btn-photos:hover,
            .machine-item button.btn-photos:hover {
                background-color: #3d8bdb !important;
                background: #3d8bdb !important;
            }
            
            .machine-item .btn-delete,
            .machine-item button.btn-delete {
                background-color: #dc3545 !important;
                background: #dc3545 !important;
                color: white !important;
            }
            
            .machine-item .btn-delete:hover,
            .machine-item button.btn-delete:hover {
                background-color: #c82333 !important;
                background: #c82333 !important;
            }
            
            .no-machines {
                text-align: center;
                padding: 40px 20px;
                color: #666;
                background: #f8f9fa;
                border-radius: 8px;
                border: 2px dashed #ddd;
            }
            
