* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    height: 100vh;
    background-color: #ffffff;
  }
  .profile-photo-header {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: contain;
    background-color: #fff;
    padding: 2px;
  }

  .icon-header {
    font-size: 20px;
    color: #333;
  }
  .side-nav-left {
    width: 80px;
    background-color: #1a1a1a;
    border-right: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    position: relative;
    min-height: 100vh;
    justify-content: flex-start;
  }

  .side-nav-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  

  .side-nav-left-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    padding-bottom: 1rem;
  }
  
  .side-nav-left .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1rem;
    padding: 0.5rem 0.25rem;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
  }
  
  .side-nav-left .nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .side-nav-left .nav-item i {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.1rem;
    transition: color 0.3s;
    display: block;
    text-align: center;
  }
  
  .side-nav-left .nav-item:hover i {
    color: #ffffff;
  }
  
  .side-nav-left .nav-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    line-height: 1;
    max-width: 60px;
    word-wrap: break-word;
    transition: color 0.3s;
    display: block;
  }
  
  .side-nav-left .nav-item:hover .nav-label {
    color: #ffffff;
  }
  .side-nav-middle {
    width: 213px;
    padding: 0.7rem 1.5rem;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  .side-nav-middle h4:not(:first-of-type) {
    margin-top: 2rem;
  }
  
  .side-nav-middle h6 {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    opacity: 0.7;
  }
  .side-nav-middle ul {
    margin-bottom: 1rem;
  }
  .side-nav-middle ul li {
    padding: 0.5rem 0;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .side-nav-middle ul li:hover {
    color: #ffffff;
    opacity: 0.8;
  }
  .side-nav-middle.collapsed {
    display: none;
  }
  
  /* Button styles in middle sidebar */
  .side-nav-middle .btn-primary,
  .side-nav-middle .btn {
    background-color: #ffffff;
    color: #1a1a1a;
    border: none;
    font-weight: 600;
  }
  
  .side-nav-middle .btn-primary:hover,
  .side-nav-middle .btn:hover {
    background-color: #f5f5f5;
    color: #1a1a1a;
  }
  
  /* File icon colors in middle sidebar */
  .side-nav-middle ul li i {
    color: #ffffff;
  }
  
  .side-nav-middle ul li:hover i {
    color: #ffffff;
    opacity: 0.8;
  }
  
  /* Brand logo and email at bottom of middle sidebar */
  .side-nav-middle-bottom {
    margin-top: auto;
    padding-top: 2rem;
    padding-bottom: 1rem;
  }
  
  .profile-info-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    background-color: #1a1a1a;
    padding: 0.5rem;
    border-radius: 8px;
  }
  
  .profile-photo-bottom {
    width: 100px;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
    background-color: #1a1a1a;
    padding: 4px;
  }
  
  .user-email-display-bottom {
    font-size: 0.7rem;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.2;
    opacity: 0.8;
  }

  .main-section {
    flex: 1;
    background: #000000;
    border-radius: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
    overflow-y: auto;
    position: relative;

  }

  /* Button for profile image */
  .profile-dropdown .dropbtn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  /* Proper alignment for profile dropdown image */
  .profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-info img {
    width: 79.5px;
    height: 24px;
    margin-bottom: 0.25rem;
  }

  .user-email-display {
    font-size: 0.7rem;
    color: #666;
    font-weight: 400;
    line-height: 1.2;
  }

  .main-section-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 0 0 0;
    margin-bottom: 0;
    position: fixed;
    top: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    pointer-events: none;
  }
  
  .main-section-header .profile-info {
    pointer-events: auto;
  }

  /* Tweak alignment of icons and dropdowns */
  .main-section-header .dropdown i {
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
  }

  .main-section-header .dropdown i:hover {
    background-color: #f1f1f1;
  }

  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 1rem;
    z-index: 1000;
    transition: all 0.2s ease;
    pointer-events: none;
    text-align: center;
  }

  .dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .dropdown-content a {
    display: block;
    padding: 10px 12px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    text-align: center;
  }

  .dropdown-content a:hover {
    background-color: #f5f5f5;
  }

  .profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
  }

  .dealer-info {
    text-align: center;
    font-size: 0.85rem;
  }

  .dealer-name {
    font-weight: 500;
    color: #1565c0;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    margin-bottom: 0.25rem;
  }

  .dealer-name:hover {
    color: #0d47a1;
  }

  .user-email {
    font-size: 0.75rem;
    color: #666;
  }

  .divider {
    height: 1px;
    background-color: #ddd;
    margin: 0.75rem 0;
  }

  .side-nav-middle .easieremails-logo {
    display: flex;
    justify-content: left;
    margin-bottom: 2rem;
    margin-top: 0.25rem;
  }

  .side-nav-middle .easieremails-logo img {
    max-width: 160px;
    height: auto;
    object-fit: contain;
  }
  .recent-campaigns-wrapper {
    margin-top: 2rem;
  }

  .thumb-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 3rem;
  }

  .thumb:hover {
    transform: scale(1.02);
  }

  .thumb-container::-webkit-scrollbar {
    height: 8px;
  }
  .thumb-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
  }
  .thumb {
    width: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    position: relative;
  }

  .thumbnail-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .thumbnail-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: top;
    display: block;
  }

  .thumb:hover {
    transform: translateY(-4px);
  }

  .card-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    height: 75px;
    position: relative;
  }

  .card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0.125rem;
    position: relative;
  }

  .card-content .title {
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-content .description {
    font-size: 0.7rem;
    color: #888;
  }

  .menu {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
  }

  .create-design-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #1565c0;
    color: white;
    font-weight: 600;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
    width: 100%;
    justify-content: center;
    transition: background-color 0.2s ease;
    text-decoration: none;
  }

  .create-design-btn:hover {
    background-color: #0d47a1;
    color: white;
  }

  .create-design-btn i {
    font-size: 14px;
  }

  /* Active page state for nav items */
  .side-nav-left .nav-item.active-page {
    background-color: #292b2e;
  }
  
  .side-nav-left .nav-item.active-page i,
  .side-nav-left .nav-item.active-page .nav-label {
    color: #ffffff !important;
  }

  .document-frame {
    background: #f1f3f5;
    padding: 1px;
    border-radius: 12px 12px 0 0;
    height: 180px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
  }

  .document-frame img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  .hero-banner {
    position: relative; 
    background: linear-gradient(to right, #1565c0, #0d47a1);
    color: white;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
  }

  .hero-text {
    max-width: 45%;
    z-index: 1;
  }

  .hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    max-width: 50%;
    padding-left: 1rem;
  }

  .hero-right img {
    width: 100%;
    max-width: 425px;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .hero-image-container {
    max-width: 300px;
    width: 100%;
  }

  .hero-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero-text h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    color: white;
  }

  .hero-images {
    display: flex;
    gap: 1rem;
    max-width: 50%;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero-img-placeholder {
    width: 120px;
    height: 160px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .banner-button {
    background-color: white;
    color: #1565c0;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
  }

  .banner-button:hover {
    background-color: #e3f2fd;
    color: #0d47a1;
  }

  /* =============================================
   RESPONSIVE DESIGN
   ============================================= */

/* Removed - now handled by .nav-item styles above */