/* Base styles with prefixed class names to avoid conflicts */
    :root {
      --ipg-primary: #833ab4;
      --ipg-secondary: #fd1d1d;
      --ipg-accent: #fcb045;
      --ipg-purple-light: #a78bfa;
      --ipg-pink: #e1306c;
      --ipg-orange: #f56040;
      --ipg-yellow: #ffdc80;
      --ipg-text-dark: #262626;
      --ipg-text-light: #ffffff;
      --ipg-text-gray: #8e8e8e;
      --ipg-bg-light: #fafafa;
      --ipg-bg-white: #ffffff;
      --ipg-border-radius: 12px;
      --ipg-container-width: 1240px;
      --ipg-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
      --ipg-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      --ipg-transition: all 0.3s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
      color: var(--ipg-text-dark);
      line-height: 1.6;
      background-color: var(--ipg-bg-light);
    }

    img {
      max-width: 100%;
      height: auto;
    }

    /* Typography */
    .ipg-hero-h1, .ipg-hero-h2, .ipg-hero-h3, .ipg-hero-h4, .ipg-hero-h5, .ipg-hero-h6 {
      margin-bottom: 1rem;
      font-weight: 700;
      line-height: 1.2;
    }

    .ipg-hero-h1 {
      font-size: 2rem;
    }

    .ipg-hero-h2 {
      font-size: 1.8rem;
    }

    .ipg-hero-h3 {
      font-size: 1.5rem;
    }

    .ipg-hero-p {
      margin-bottom: 1rem;
    }

    .ipg-text-center {
      text-align: center;
    }

    /* Layout system */
    .ipg-container {
      width: 100%;
      max-width: var(--ipg-container-width);
      margin: 0 auto;
      padding: 0 10px;
    }

    .ipg-hero-section {
      padding: 80px 0;
    }

    @media (min-width: 768px) {
      .ipg-col-md-6 {
        width: 50%;
      }

      .ipg-col-md-4 {
        width: 33.333333%;
      }

      .ipg-col-md-3 {
        width: 25%;
      }
    }

    /* Components */
    .ipg-btn {
      display: inline-block;
      font-weight: 600;
      text-align: center;
      white-space: nowrap;
      vertical-align: middle;
      cursor: pointer;
      border: 1px solid transparent;
      padding: 0.75rem 1.5rem;
      font-size: 1rem;
      line-height: 1.5;
      border-radius: 30px;
      transition: var(--ipg-transition);
      text-decoration: none;
      color: var(--ipg-text-light);
      background: linear-gradient(45deg, var(--ipg-primary), var(--ipg-secondary));
      box-shadow: var(--ipg-shadow-sm);
    }

    .ipg-btn:hover {
      transform: translateY(-3px);
      box-shadow: var(--ipg-shadow);
    }

    .ipg-btn-lg {
      padding: 1rem 2rem;
      font-size: 1.125rem;
    }

    .ipg-btn-light {
      background: var(--ipg-bg-white);
      color: var(--ipg-primary);
    }

    .ipg-card {
      background-color: var(--ipg-bg-white);
      border-radius: var(--ipg-border-radius);
      padding: 30px;
      height: 100%;
      box-shadow: var(--ipg-shadow-sm);
      transition: var(--ipg-transition);
    }

    .ipg-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--ipg-shadow);
    }
	
    /* Section-specific styles */
    .ipg-hero {
      background: linear-gradient(135deg, var(--ipg-primary), var(--ipg-secondary), var(--ipg-accent));
      color: var(--ipg-text-light);
      text-align: center;
    }

    .ipg-hero-content {
      max-width: 700px;
      margin: 0 auto;
    }

    .ipg-mb-1 {
      margin-bottom: 0.5rem;
    }

    .ipg-mb-2 {
      margin-bottom: 1rem;
    }

    .ipg-mb-3 {
      margin-bottom: 1.5rem;
    }

    .ipg-mb-4 {
      margin-bottom: 2rem;
    }

    .ipg-mb-5 {
      margin-bottom: 3rem;
    }

    .ipg-gradient-text {
      background: linear-gradient(to right, var(--ipg-primary), var(--ipg-secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      display: inline-block;
    }

    /* Responsive adjustments */
    @media (min-width: 768px) {
      .ipg-hero-h1 {
        font-size: 2.8rem;
      }

      .ipg-hero-h2 {
        font-size: 1.8rem;
      }

      .ipg-hero-h3 {
        font-size: 1rem;
      }
    }

    @media (max-width: 767px) {
      .ipg-hero-section {
        padding: 30px 0;
      }

      .ipg-hero {
        padding: 40px 0;
      }
    }



     .social-creator-app {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
 
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 0px;
}

        /* Main container with enhanced gradient background */
        .creator-container {
            background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 100%);
            backdrop-filter: blur(25px);
            border-radius: 28px;
            box-shadow: 0 30px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.3);
            padding: 40px;
            width: 100%;
            max-width: 1400px;
            display: grid;
            grid-template-columns: 420px 1fr; /* Preview on left, form on right */
            gap: 50px;
            border: 1px solid rgba(255,255,255,0.3);
            position: relative;
            overflow: hidden;
        }

        /* Decorative background elements */
        .creator-container::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
            pointer-events: none;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Left side - Preview section */
        .preview-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .preview-title {
            font-size: 24px;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 24px;
            text-align: center;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }




.phone-mockup {
    width: 344px;
    height: 640px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

        .phone-mockup:hover {
            transform: perspective(1000px) rotateY(0deg);
        }

        .phone-screen {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 28px;
            overflow: hidden;
            position: relative;
            box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
        }

        .post-preview {
            padding: 20px;
            height: 100%;
            overflow-y: auto;
        }

        .post-header {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 20px;
        }

        .profile-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 16px;
            box-shadow: 0 4px 12px rgba(102,126,234,0.3);
            background-image: url('https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=100&h=100&fit=crop&crop=face');
            background-size: cover;
            background-position: center;
        }

        .post-user-info {
            flex: 1;
        }

        .post-username {
            font-weight: 700;
            color: #1f2937;
            font-size: 15px;
            margin-bottom: 2px;
        }

        .post-location {
            color: #6b7280;
            font-size: 13px;
            font-weight: 500;
        }

        .post-image-preview {
            width: 100%;
            height: 240px;
            background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
            border-radius: 16px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #9ca3af;
            background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=400&h=300&fit=crop');
            background-size: cover;
            background-position: center;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }

        .post-image-preview::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
        }

        .post-actions {
            display: flex;
            gap: 18px;
            margin-bottom: 16px;
            align-items: center;
        }

        .action-icon {
            font-size: 22px;
            color: #374151;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 4px;
        }

        .action-icon:hover {
            color: #667eea;
            transform: scale(1.15);
        }

        .action-icon.liked {
            color: #ef4444;
        }

        .post-stats {
            color: #1f2937;
            font-weight: 700;
            font-size: 15px;
            margin-bottom: 12px;
        }

        .post-caption {
            color: #374151;
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 8px;
					  text-align:justify;
        }

        .post-comments {
            color: #6b7280;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 8px;
        }

        .post-time {
            color: #9ca3af;
            font-size: 12px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Right side - Form section */
        .form-section {
            display: flex;
            flex-direction: column;
            position: relative;
            z-index: 2;
        }

        .form-title {
            font-size: 28px;
            font-weight: 800;
            color: #1f2937;
            margin-bottom: 32px;
            text-align: center;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Enhanced tab navigation */
        .tab-navigation {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 75%, #f5576c 100%);
            border-radius: 20px;
            padding: 6px;
            margin-bottom: 36px;
            display: flex;
            gap: 4px;
            box-shadow: 0 10px 30px rgba(102,126,234,0.3);
        }

        .tab-nav-item {
            flex: 1;
            padding: 16px 24px;
            text-align: center;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 600;
            font-size: 14px;
            color: rgba(255,255,255,0.8);
            background: transparent;
            border: none;
            outline: none;
            position: relative;
            overflow: hidden;
        }

        .tab-nav-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .tab-nav-item:hover::before {
            left: 100%;
        }

        .tab-nav-item.active {
            background: rgba(255,255,255,0.98);
            color: #1f2937;
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
            transform: translateY(-2px);
        }

        .tab-nav-item:hover:not(.active) {
            background: rgba(255,255,255,0.25);
            color: white;
            transform: translateY(-1px);
        }

        /* Enhanced tab content */
        .tab-content {
            background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
            border-radius: 24px;
            padding: 36px;
            min-height: 520px;
            box-shadow: 0 12px 40px rgba(0,0,0,0.12);
            border: 1px solid rgba(255,255,255,0.4);
            backdrop-filter: blur(10px);
        }

        .tab-panel {
            display: none;
            animation: fadeIn 0.5s ease-in-out;
        }

        .tab-panel.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Enhanced form elements */
        .form-group {
            margin-bottom: 28px;
        }

        .form-label {
            display: block;
            margin-bottom: 10px;
            font-weight: 700;
            color: #374151;
            font-size: 15px;
            letter-spacing: 0.3px;
        }

        .form-input {
            width: 100%;
            padding: 18px 24px;
            border-radius: 16px;
            border: 2px solid rgba(0,0,0,0.08);
            background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
            font-size: 15px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            outline: none;
            color: #374151;
            font-weight: 500;
        }

        .form-input:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
            background: white;
            transform: translateY(-1px);
        }

        .form-textarea {
            min-height: 140px;
            resize: vertical;
            font-family: inherit;
        }

        /* Enhanced image upload area */
        .image-upload-area {
            border: 3px dashed rgba(102,126,234,0.3);
            border-radius: 16px;
            padding: 48px 24px;
            text-align: center;
            background: linear-gradient(135deg, rgba(102,126,234,0.05) 0%, rgba(118,75,162,0.05) 100%);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }

        .image-upload-area::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(102,126,234,0.1), transparent);
            transition: left 0.6s;
        }

        .image-upload-area:hover::before {
            left: 100%;
        }

        .image-upload-area:hover {
            border-color: #667eea;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118,75,162,0.08) 100%);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102,126,234,0.15);
        }

        .upload-icon {
            font-size: 36px;
            color: #667eea;
            margin-bottom: 16px;
            transition: transform 0.3s ease;
        }

        .image-upload-area:hover .upload-icon {
            transform: scale(1.1);
        }

        .upload-text {
            color: #374151;
            font-weight: 600;
            font-size: 16px;
        }

        /* Enhanced default button */
/*         .default-btn {
            background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
            border: none;
            padding: 14px 28px;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 600;
            color: #374151;
            transition: all 0.3s ease;
            font-size: 14px;
        } */

         .default-btn {
    background: linear-gradient(135deg, #abc7ef 0%, #26c2e3 100%);
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #2d626e;
    transition: all 0.3s ease;
    font-size: 14px;
}

        .default-btn:hover {
            background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        /* Enhanced filter grid */
        .filter-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .filter-item {
            text-align: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .filter-preview {
            width: 100%;
            height: 140px;
            background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
            border-radius: 16px;
            margin-bottom: 12px;
            border: 3px solid transparent;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .filter-preview::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
        }

        .filter-item:hover .filter-preview {
            border-color: #667eea;
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 12px 30px rgba(102,126,234,0.2);
        }

        .filter-item.active .filter-preview {
            border-color: #667eea;
            box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
            transform: translateY(-2px);
        }

        .filter-name {
            font-weight: 600;
            color: #374151;
            font-size: 14px;
            letter-spacing: 0.3px;
        }

        /* Enhanced engagement controls */
        .engagement-control {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 28px;
            padding: 20px;
            background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(248,250,252,0.8) 100%);
            border-radius: 16px;
            border: 1px solid rgba(0,0,0,0.05);
        }

        .engagement-label {
            font-weight: 700;
            color: #374151;
            font-size: 16px;
            letter-spacing: 0.3px;
        }

        .counter-control {
            display: flex;
            align-items: center;
            gap: 16px;
            background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
            border-radius: 16px;
            padding: 8px;
            border: 2px solid rgba(0,0,0,0.08);
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        .counter-btn {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            border: none;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 16px;
            font-weight: 600;
        }

        .counter-btn:hover {
            background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
            transform: scale(1.08);
            box-shadow: 0 6px 20px rgba(102,126,234,0.4);
        }

        .counter-btn:active {
            transform: scale(0.95);
        }

        .counter-value {
            min-width: 70px;
            text-align: center;
            font-weight: 700;
            color: #374151;
            background: white;
            border-radius: 10px;
            padding: 12px 16px;
            border: 1px solid rgba(0,0,0,0.08);
            font-size: 15px;
        }

        /* Enhanced action buttons */
/*         .action-buttons {
            display: flex;
            gap: 20px;
            margin-top: 40px;
        } */

       .action-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2px;
    width: 100%;
}

        .reset-btn {
            flex: 1;
/*             padding: 18px 28px; */
            border-radius: 16px;
            border: none;
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: white;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .reset-btn:hover {
            background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(239, 68, 68, 0.4);
        }

/*         .download-btn {
            flex: 1;
            padding: 18px 28px;
            border-radius: 16px;
            border: none;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        } */

.download-btn {
	flex: 1;
	padding: 11px 28px;
	border-radius: 16px;
	border: none;
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: white;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

        .download-btn:hover {
            background: linear-gradient(135deg, #059669 0%, #047857 100%);
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
        }

        .character-count {
            text-align: right;
            color: #9ca3af;
            font-size: 13px;
            margin-top: 8px;
            font-weight: 500;
        }

  .tab-content {
    background: linear-gradient(135deg, rgb(241 237 241 / 95%) 0%, rgb(244 236 245 / 95%) 100%);
    border-radius: 24px;
    padding: 36px;
    min-height: 520px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}
#preview-image.filter-sepia {
  filter: sepia(100%);
}
#preview-image.filter-grayscale {
  filter: grayscale(100%);
}




/*────────────────────────────────────────*/
/*            RESPONSIVE QUERIES         */
/*────────────────────────────────────────*/

/* ≤ 992px (large laptops / small desktops) */
@media (max-width: 1024px) {
  .creator-container {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .tab-navigation {
    gap: 2px;
    padding: 4px;
  }
  .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .engagement-control {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .counter-control {
    justify-content: space-around;
  }
  .default-btn,
  .reset-btn,
  .download-btn {
    padding: 16px;
    font-size: 15px;
  }
}
@media (max-width: 992px) {
  .creator-container {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .tab-navigation {
    gap: 2px;
    padding: 4px;
  }
  .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .engagement-control {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .counter-control {
    justify-content: space-around;
  }
  .default-btn,
  .reset-btn,
  .download-btn {
    padding: 16px;
    font-size: 15px;
  }
}

/* ≤ 768px (tablets & portrait desktops) */
@media (max-width: 768px) {
  .creator-container {
    padding: 24px;
    gap: 30px;
  }
/*   .phone-mockup {
    width: 240px;
    height: 450px;
  } */
	.phone-mockup {
	width: 330px;
	height: 608px;
}
  .form-title { font-size: 24px; }
  .preview-title { font-size: 20px; }
  .tab-nav-item {
    padding: 12px;
    font-size: 13px;
  }
  .tab-content {
    padding: 28px;
    min-height: 480px;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .engagement-control {
    padding: 14px;
  }
  .counter-btn {
    width: 36px;
    height: 36px;
  }
}

/* ≤ 600px (large phones) */
@media (max-width: 600px) {
  .social-creator-app {
    padding: 12px;
    margin: 40px 0;
  }
  .creator-container {
    padding: 18px;
    border-radius: 20px;
  }
/*   .phone-mockup {
    width: 200px;
    height: 380px;
  } */
	
.phone-mockup {
	width: 304px;
	height: 616px;
}
  .form-title { font-size: 22px; }
  .preview-title { font-size: 18px; }
  .tab-nav-item {
    padding: 10px;
    font-size: 12px;
  }
  .tab-content {
    padding: 20px;
    min-height: 420px;
  }
  .form-input,
  .form-textarea {
    padding: 12px 16px;
    font-size: 14px;
  }
  .action-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .default-btn,
  .reset-btn,
  .download-btn {
    width: 100%;
    font-size: 14px;
  }
  .engagement-control {
    gap: 12px;
  }
  .counter-value {
    padding: 8px 12px;
  }
	.post-username {
	font-weight: 700;
	color: #1f2937;
	font-size: 12px;
	margin-bottom: 2px;
}
	.post-location {
	color: #6b7280;
	font-size: 11px;
	font-weight: 500;
}
	.tab-nav-item {
	padding: 10px;
	font-size: 10px;
}
}

/* ≤ 400px (small phones) */
@media (max-width: 400px) {
  .social-creator-app {
    margin: 20px 0;
  }
  .creator-container {
    padding: 14px;
  }
/*   .phone-mockup {
    width: 160px;
    height: 300px;
  } */
	.phone-mockup {
	width: 266px;
	height: 521px;
}
  .form-title { font-size: 20px; }
  .preview-title { font-size: 16px; }
  .tab-nav-item {
    padding: 8px;
    font-size: 11px;
  }
  .tab-content {
    padding: 16px;
    min-height: auto;
  }
  .post-image-preview {
    height: 150px;
  }
  .filter-name,
  .post-username,
  .post-stats {
    font-size: 13px;
  }
  .post-caption,
  .post-comments {
    font-size: 12px;
  }
  .post-time {
    font-size: 10px;
  }
  .counter-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .default-btn,
  .reset-btn,
  .download-btn {
    padding: 10px;
    font-size: 13px;
  }
/* 	.post-username {
	font-weight: 700;
	color: #1f2937;
	font-size: 12px;
	margin-bottom: 2px;
} */
	.post-username {
	font-weight: 700;
	color: #1f2937;
	font-size: 8px !important;
	margin-bottom: 2px;
}
	.post-location {
	color: #6b7280;
	font-size: 9px !important;
	font-weight: 500;
}
	.tab-nav-item {
	padding: 8px;
	font-size: 9px;
}
}

/* ≤ 375px (extra small phones) */
@media (max-width: 375px) {
  .creator-container {
    padding: 12px;
    gap: 20px;
  }
/*   .phone-mockup {
    width: 150px;
    height: 280px;
  } */
.phone-mockup {
	width: 267px;
	height: 512px;
}
  .form-title { font-size: 18px; }
  .preview-title { font-size: 14px; }
  .tab-nav-item {
    padding: 6px;
    font-size: 10px;
  }
  .tab-content {
    padding: 12px;
  }
  /* Tighten engagement control */
  .engagement-control {
    padding: 10px;
    gap: 8px;
  }
  .counter-control {
    gap: 8px;
  }
	.post-username {
	font-weight: 700;
	color: #1f2937;
	font-size: 8px !important;
	margin-bottom: 2px;
}
	.post-location {
	color: #6b7280;
	font-size: 9px !important;
	font-weight: 500;
}
	.tab-nav-item {
	padding: 6px;
	font-size: 9px;
}
}


     