/* Custom Styles for FoxCrew Application */
        :root {
            --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
            --bg-body: #f8fafc;
            --card-radius: 16px;
        }

        body {
            background-color: var(--bg-body);
            font-family: 'Plus Jakarta Sans', sans-serif;
            color: #1e293b;
            padding-bottom: 50px;
        }

        .container {
            max-width: 850px;
        }

        /* Card Styling */
        .main-card {
            border: none;
            border-radius: var(--card-radius);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
            background: #ffffff;
            overflow: hidden;
        }

        .card-header {
            background: #ffffff;
            border-bottom: 1px solid #f1f5f9;
            padding: 1.5rem 2rem;
        }

        /* Nav Tabs Modern */
        .nav-pills-custom {
            background: #f1f5f9;
            padding: 6px;
            border-radius: 14px;
            display: flex;
            gap: 5px;
        }

        .nav-pills-custom .nav-link {
            border-radius: 10px;
            color: #64748b;
            font-weight: 600;
            padding: 10px 20px;
            border: none;
            transition: all 0.2s;
            flex: 1;
        }

        .nav-pills-custom .nav-link.active {
            background-color: #ffffff !important;
            color: #4f46e5 !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        /* Form Controls */
        .form-label {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.025em;
            margin-bottom: 0.5rem;
            color: #64748b;
        }

        .form-control,
        .form-select {
            border-radius: 12px;
            padding: 0.75rem 1rem;
            border: 1px solid #e2e8f0;
            font-size: 0.95rem;
        }

        .form-control:focus {
            border-color: #6366f1;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
        }

        /* Buttons */
        .btn-primary {
            background: var(--primary-gradient);
            border: none;
            border-radius: 12px;
            font-weight: 600;
            padding: 0.8rem 1.5rem;
        }

        .btn-primary:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        /* Result Output Area */
        .clickable-output {
            background-color: #f8fafc !important;
            border: 2px dashed #e2e8f0;
            cursor: pointer;
            font-family: 'Monaco', 'Consolas', monospace;
            font-size: 0.85rem;
            color: #475569;
        }

        .clickable-output:hover {
            border-color: #6366f1;
            background-color: #f1f5f9 !important;
        }

        /* Login Box */
        #login_box {
            max-width: 420px;
            margin-top: 10vh;
        }

        /* Image Editor Thumbnails */
        .overlay-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            gap: 12px;
            padding: 15px;
        }

        .img-thumbnail {
            border-radius: 10px;
            border: 3px solid transparent;
            transition: 0.2s;
        }

        .img-thumbnail:hover {
            transform: scale(1.05);
            border-color: #6366f1;
        }
