    /* GLOBAL FIX */
    html, body { overflow-x: hidden; }

    body { 
      background: linear-gradient(180deg, #f8fbff 0%, #ffffff 60%); 
    }

    /* NAVBAR - frosted glass, compact, responsive collapse */
    .navbar {
      backdrop-filter: blur(10px);
      background: rgba(255, 255, 255, 0.75) !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.45);
      padding-top: 8px !important;
      padding-bottom: 8px !important;
      box-shadow: 0 1px 8px rgba(0,0,0,0.04);
    }

    /* Logo beside ShareApp */
    .nav-logo {
      width: 28px;
      height: 28px;
      object-fit: contain;
    }

    .navbar-brand {
      font-weight: 700;
      font-size: 20px;
      letter-spacing: 0.2px;
    }

    /* Toggler smaller and cleaner */
    .navbar-toggler {
      border: none;
      padding: 6px 8px;
    }
    .navbar-toggler:focus { outline: none; box-shadow: none; }

    .navbar-collapse {
      justify-content: flex-end;
    }

    .nav-link {
      color: #6b7280 !important;
      font-size: 14px;
      padding-left: 0.75rem;
      padding-right: 0.75rem;
    }
    .nav-link:hover { color: #0f1724 !important; }

    /* CARD */
    .hero-card {
      max-width: 900px;
      width: 100%;
      margin: 70px auto;
      background: #fff;
      border-radius: 16px;
      padding: 72px 72px;
      box-shadow: 0 30px 60px rgba(0,0,0,0.05);
      position: relative;
    }

    .hero-title { 
      font-size: 40px; 
      font-weight: 700; 
      color: #0f1724; 
      margin-bottom: 8px; 
    }

    .hero-sub { 
      color: #4b5563; 
      margin-bottom: 28px; 
      font-size: 16px; 
    }

    /* INPUT */
    .input-wrapper {
      position: relative;
      width: 100%;
      max-width: 560px;
    }

    #roomId { 
      width:100%; 
      border-radius:10px; 
      padding-left: 48px; 
      padding-right: 20px; 
    }

    .input-icon {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: #0ea5e9;
      font-size: 20px;
      pointer-events: none;
    }

    /* PRIMARY BUTTON */
    .join-btn {
      width: 100%;
      max-width: 560px;
      border-radius: 12px;
      padding: 12px 20px;
      font-size: 18px;
      font-weight: 600;
      box-shadow: 0 6px 18px rgba(59,130,246,0.18);
    }

    /* FEATURES */
    .features { 
      margin-top: 36px; 
      display:flex; 
      flex-wrap: wrap;
      gap:24px; 
      justify-content:center; 
      align-items:flex-start; 
    }

    .feature { 
      text-align:center; 
      flex: 1 1 140px; 
      max-width: 180px;
    }

    .feature .icon { 
      font-size:28px; 
      margin-bottom:8px; 
      color:#2563eb; 
    }

    .feature h6 { 
      margin-bottom:6px; 
      font-weight:600; 
      color:#0f1724; 
    }

    .feature p { 
      margin:0; 
      color:#6b7280; 
      font-size:14px; 
    }

    /* Decorative blur square */
    .hero-deco {
      position:absolute; 
      right: -24px; 
      top:-24px;
      width:140px; 
      height:140px; 
      border-radius:18px;
      background: linear-gradient(180deg, rgba(37,99,235,0.06), rgba(99,102,241,0.03));
      filter: blur(14px);
    }

    .micro-foot { 
      margin-top:28px; 
      color:#6b7280; 
      font-size:14px; 
      border-top:1px solid #eef2ff; 
      padding-top:18px; 
    }

    /* MOBILE FIXES */
    @media (max-width: 768px) {

      .hero-card { 
        width: 100%;
        padding: 24px 18px; 
        margin: 16px auto;
        border-radius: 12px;
      }

      .hero-title { font-size: 32px; }
      .hero-sub { font-size: 15px; }

      #roomId { padding-left: 44px; }

      .join-btn { 
        max-width: 100%;
        font-size: 16px;
      }

      .features { 
        flex-direction:column; 
        gap:20px; 
        align-items: center;
      }

      .feature {
        max-width: 100%;
        flex: none;
      }

      .hero-deco { 
        width:100px; 
        height:100px; 
        right:-12px; 
        top:-12px; 
      }

      .nav-logo { width: 24px; height: 24px; }
      .navbar-brand { font-size: 18px; }
    }

/* -----------------------------
   ROOM PAGE STYLING
-------------------------------- */

/* Room container */

body.room-page {
    background: #ffffff !important;
}
.room-container {
    max-width: 900px;
}

/* Room title */
.room-container h1 {
    font-weight: 700;
    color: #0f1724;
}

/* Input layout */
#uploadForm input[type="text"],
#uploadForm input[type="file"] {
    border-radius: 10px;
    padding: 12px;
}

/* Share button */
#uploadForm button {
    padding: 10px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* Shared content list */
.shared-content .list-group-item {
    padding: 18px 20px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Content layout */
.content-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Image previews */
.shared-content img {
    max-width: 120px;
    max-height: 120px;
    cursor: pointer;
    border-radius: 10px;
}

/* Video icon */
.shared-content .bi-play-circle {
    font-size: 40px;
    cursor: pointer;
}

/* Modal larger */
.modal-dialog.modal-lg {
    max-width: 80%;
}

/* On hover */
.shared-content .bi-download:hover,
.shared-content .bi-play-circle:hover {
    opacity: 0.7;
}

/* Mobile fixes */
@media(max-width: 768px) {
    .shared-content img { max-width: 90px; }
    #uploadForm button { width: 100%; }
}

/* Header Action Buttons */
.nav-action-btn {
    border-radius: 12px !important;
    font-size: 14px;
    padding: 8px 14px !important;
    font-weight: 500;
    transition: 0.2s ease;
}

.nav-action-btn i {
    font-size: 16px;
    margin-right: 4px;
}

.nav-action-btn.btn-outline-primary {
    border-color: #3b82f6;
    color: #2563eb;
}

.nav-action-btn.btn-outline-primary:hover {
    background: #3b82f6;
    color: white;
}

.nav-action-btn.btn-outline-danger {
    border-color: #ef4444;
    color: #dc2626;
}

.nav-action-btn.btn-outline-danger:hover {
    background: #ef4444;
    color: white;
}

/* Custom File Input Wrapper */
.custom-file-wrapper {
    position: relative;
    width: 100%;
}

.custom-file-wrapper input[type="file"] {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.custom-file-display {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 14px;
    height: 45px;
    display: flex;
    align-items: center;
    background: white;
    justify-content: space-between;
    cursor: pointer;
}

.custom-file-btn {
    background: #3b82f6;
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
}
.navbar-brand span {
    font-size: 26px;      /* increase text size */
    font-weight: 700;     /* keep it bold */
}
